aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:07:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-20 23:04:41 +0100
commitdadf58908ceb08a75cce4e0a80dda4f08fdaa986 (patch)
tree309c4342d78f1d65d6cfc292f1b5e2859d5c3f0f
parentee8d38191fbfdc90ebd0c95f8793cc4cb11c1558 (diff)
downloadffmpeg-dadf58908ceb08a75cce4e0a80dda4f08fdaa986.tar.gz
vsrc_testsrc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6f88d2d786b87cbfec5ea16d1cb570ad30c80399) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/vsrc_testsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index 85d3789cec..215379d5da 100644
--- a/libavfilter/vsrc_testsrc.c
+++ b/libavfilter/vsrc_testsrc.c
@@ -254,7 +254,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",