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

Nicolas George git at videolan.org
Thu Apr 16 13:05:47 CEST 2015


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Thu Apr 16 11:31:23 2015 +0200| [38155865df73627f7a7001acbc2243991e96463d] | committer: Michael Niedermayer

lavfi/avf_showcqt: fix error code.

Signed-off-by: Nicolas George <george at nsup.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=38155865df73627f7a7001acbc2243991e96463d
---

 libavfilter/avf_showcqt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list