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-18 05:14:31 +0100
commit17704500fb0ca66f82ca6b3576bb359fb79f9ebb (patch)
tree36a524dd0b19525e3d277af912fc3ddcd2e44c2c
parent2338eda8d8fd84ec426bf8ade7fe81a266ae60fe (diff)
downloadffmpeg-17704500fb0ca66f82ca6b3576bb359fb79f9ebb.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 185d382f55..f5e37f8b72 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",