[FFmpeg-cvslog] avfilter/avf_showcqt: Fix uninitialized return code
Michael Niedermayer
git at videolan.org
Wed Nov 11 01:33:54 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Nov 11 01:07:45 2015 +0100| [1b539fbfe36c450a6f45706e740fd4e205b8be16] | committer: Michael Niedermayer
avfilter/avf_showcqt: Fix uninitialized return code
Fixes CID1322329
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1b539fbfe36c450a6f45706e740fd4e205b8be16
---
libavfilter/avf_showcqt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c
index c630ffd..d6e2928 100644
--- a/libavfilter/avf_showcqt.c
+++ b/libavfilter/avf_showcqt.c
@@ -993,7 +993,7 @@ static int plot_cqt(AVFilterContext *ctx)
{
AVFilterLink *outlink = ctx->outputs[0];
ShowCQTContext *s = ctx->priv;
- int ret;
+ int ret = 0;
memcpy(s->fft_result, s->fft_data, s->fft_len * sizeof(*s->fft_data));
av_fft_permute(s->fft_ctx, s->fft_result);
More information about the ffmpeg-cvslog
mailing list