[FFmpeg-cvslog] avfilter/vf_mpdecimate: Fix missing ()

Michael Niedermayer git at videolan.org
Mon Apr 6 02:52:31 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr  6 02:41:49 2015 +0200| [ba54512a10f88e21c26bb71bd64b12fa5d68b036] | committer: Michael Niedermayer

avfilter/vf_mpdecimate: Fix missing ()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c
index d86b5d8..5504ffe 100644
--- a/libavfilter/vf_mpdecimate.c
+++ b/libavfilter/vf_mpdecimate.c
@@ -188,7 +188,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur)
         decimate->ref = cur;
         decimate->drop_count = FFMIN(-1, decimate->drop_count-1);
 
-        if (ret = ff_filter_frame(outlink, av_frame_clone(cur)) < 0)
+        if ((ret = ff_filter_frame(outlink, av_frame_clone(cur))) < 0)
             return ret;
     }
 



More information about the ffmpeg-cvslog mailing list