summaryrefslogtreecommitdiff
path: root/libavfilter/avf_showcqt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-11-11 01:07:45 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-11-11 01:07:45 +0100
commit1b539fbfe36c450a6f45706e740fd4e205b8be16 (patch)
tree9a4c1bdf3d005cd9335d50361d8f359cc7d00272 /libavfilter/avf_showcqt.c
parent4819446eae451a6e58d6ae41faefb5529af4e783 (diff)
avfilter/avf_showcqt: Fix uninitialized return code
Fixes CID1322329 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/avf_showcqt.c')
-rw-r--r--libavfilter/avf_showcqt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c
index c630ffd0af..d6e2928d7d 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);