audiofx: fix crash in process()
This commit is contained in:
parent
0b3f685dbd
commit
42f401a7eb
@ -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…
x
Reference in New Issue
Block a user