[FFmpeg-cvslog] vsrc_testsrc: Fix assignments in if()

Michael Niedermayer git at videolan.org
Mon Jan 14 05:28:29 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:07:02 2013 +0100| [6f88d2d786b87cbfec5ea16d1cb570ad30c80399] | committer: Michael Niedermayer

vsrc_testsrc: Fix assignments in if()

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

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

 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",



More information about the ffmpeg-cvslog mailing list