Browse code

avfilter/vf_mpdecimate: Fix missing ()

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

Michael Niedermayer authored on 2015/04/06 09:41:49
Showing 1 changed files
... ...
@@ -188,7 +188,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur)
188 188
         decimate->ref = cur;
189 189
         decimate->drop_count = FFMIN(-1, decimate->drop_count-1);
190 190
 
191
-        if (ret = ff_filter_frame(outlink, av_frame_clone(cur)) < 0)
191
+        if ((ret = ff_filter_frame(outlink, av_frame_clone(cur))) < 0)
192 192
             return ret;
193 193
     }
194 194