Commit 0ada8ec1 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/avf_showfreqs: Fix "may be used uninitialized in this function" warning

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 7213d3fb
......@@ -484,7 +484,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
AVFilterContext *ctx = inlink->dst;
ShowFreqsContext *s = ctx->priv;
AVFrame *fin = NULL;
int ret;
int ret = 0;
av_audio_fifo_write(s->fifo, (void **)in->extended_data, in->nb_samples);
while (av_audio_fifo_size(s->fifo) >= s->win_size) {
......
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