[FFmpeg-devel] [PATCH] lavfi/avf_showcqt: fix error code.

Nicolas George george at nsup.org
Thu Apr 16 11:31:23 CEST 2015


Signed-off-by: Nicolas George <george at nsup.org>
---
 libavfilter/avf_showcqt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


If deemed correct, do not wait for me to apply.


diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c
index e862dc7..8c6ce1f 100644
--- a/libavfilter/avf_showcqt.c
+++ b/libavfilter/avf_showcqt.c
@@ -723,7 +723,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
                 s->fft_data[x] = s->fft_data[x+step];
             s->remaining_fill += step;
         }
-        return AVERROR(EOF);
+        return AVERROR_EOF;
     }
 
     remaining = insamples->nb_samples;
-- 
2.1.4



More information about the ffmpeg-devel mailing list