Browse Source

avfilter/avf_showcqt: Fix uninitialized return code

Fixes CID1322329

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Michael Niedermayer 10 years ago
parent
commit
1b539fbfe3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/avf_showcqt.c

+ 1
- 1
libavfilter/avf_showcqt.c View File

@@ -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…
Cancel
Save