[FFmpeg-devel] [PATCH 14/16] vsrc_testsrc: Fix assignments in if()

Michael Niedermayer michaelni at gmx.at
Mon Jan 14 00:20:23 CET 2013


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavfilter/vsrc_testsrc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index 185d382..f5e37f8 100644
--- a/libavfilter/vsrc_testsrc.c
+++ b/libavfilter/vsrc_testsrc.c
@@ -248,7 +248,7 @@ static int color_config_props(AVFilterLink *inlink)
     if (av_image_check_size(test->w, test->h, 0, ctx) < 0)
         return AVERROR(EINVAL);
 
-    if (ret = config_props(inlink) < 0)
+    if ((ret = config_props(inlink)) < 0)
         return ret;
 
     av_log(ctx, AV_LOG_VERBOSE, "color:0x%02x%02x%02x%02x\n",
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list