Commit 6f88d2d7 authored by Michael Niedermayer's avatar Michael Niedermayer

vsrc_testsrc: Fix assignments in if()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 659546b4
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment