mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 04:17:05 +00:00
avfilter/avf_showcqt: Fix uninitialized return code
Fixes CID1322329 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
4819446eae
commit
1b539fbfe3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user