Browse Source

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Michael Niedermayer 9 years ago
parent
commit
0ada8ec1a5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/avf_showfreqs.c

+ 1
- 1
libavfilter/avf_showfreqs.c View File

@@ -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) {


Loading…
Cancel
Save