Commit 42f401a7 authored by René Stadler's avatar René Stadler
Browse files

audiofx: fix crash in process()

parent 0b3f685d
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment