diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-05 15:34:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-05 15:34:35 +0200 |
commit | 0ada8ec1a50c0ec157988f0a166adf977b482d37 (patch) | |
tree | 224a0d46e571a663f81663141de03e1e530645c3 /libavfilter | |
parent | 7213d3fbf30b6be53c272c1c61c797a2b7b697a0 (diff) | |
download | ffmpeg-0ada8ec1a50c0ec157988f0a166adf977b482d37.tar.gz |
avfilter/avf_showfreqs: Fix "may be used uninitialized in this function" warning
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avf_showfreqs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showfreqs.c b/libavfilter/avf_showfreqs.c index af32eae08e..1bbaa92a99 100644 --- a/libavfilter/avf_showfreqs.c +++ b/libavfilter/avf_showfreqs.c @@ -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) { |