mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
audiofx: fix crash in process()
This commit is contained in:
parent
0b3f685dbd
commit
42f401a7eb
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ gst_audio_fx_base_iir_filter_setup (GstAudioFilter * base,
|
|||
}
|
||||
|
||||
filter->channels = g_new0 (GstAudioFXBaseIIRFilterChannelCtx, channels);
|
||||
for (i = 0; i < filter->nchannels; i++) {
|
||||
for (i = 0; i < channels; i++) {
|
||||
ctx = &filter->channels[i];
|
||||
|
||||
ctx->x = g_new0 (gdouble, filter->na);
|
||||
|
|
Loading…
Reference in a new issue