Commit 1b539fbf authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/avf_showcqt: Fix uninitialized return code

Fixes CID1322329
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 4819446e
......@@ -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);
......
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