[FFmpeg-cvslog] lavfi/ebur128: fix typo in condition.

Clément Bœsch git at videolan.org
Thu Oct 11 18:39:39 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu Oct 11 18:41:07 2012 +0200| [9ad1ea13e08f696b2baf08f34bd3aa1af2717917] | committer: Clément Bœsch

lavfi/ebur128: fix typo in condition.

Fixes CID733727.

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

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

diff --git a/libavfilter/f_ebur128.c b/libavfilter/f_ebur128.c
index 5c5aeca..5424276 100644
--- a/libavfilter/f_ebur128.c
+++ b/libavfilter/f_ebur128.c
@@ -625,7 +625,7 @@ static int filter_samples(AVFilterLink *inlink, AVFilterBufferRef *insamples)
 
                 /* set pts and push frame */
                 pic->pts = pts;
-                if ((ret = ff_start_frame(outlink, avfilter_ref_buffer(pic, ~AV_PERM_WRITE)) < 0) < 0 ||
+                if ((ret = ff_start_frame(outlink, avfilter_ref_buffer(pic, ~AV_PERM_WRITE))) < 0 ||
                     (ret = ff_draw_slice(outlink, 0, outlink->h, 1)) < 0 ||
                     (ret = ff_end_frame(outlink)) < 0)
                     return ret;



More information about the ffmpeg-cvslog mailing list