Commit 6c23a850 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/af_compand: Silence "may be used uninitialized" warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c71f8d40
......@@ -297,6 +297,7 @@ static int compand_drain(AVFilterLink *outlink)
s->pts += av_rescale_q(frame->nb_samples,
(AVRational){ 1, outlink->sample_rate }, outlink->time_base);
av_assert0(channels > 0);
for (chan = 0; chan < channels; chan++) {
AVFrame *delay_frame = s->delay_frame;
double *dbuf = (double *)delay_frame->extended_data[chan];
......
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