Commit 659546b4 authored by Michael Niedermayer's avatar Michael Niedermayer

tiff: Fix assignments in if()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 37be1d80
......@@ -878,7 +878,7 @@ static int tiff_decode_tag(TiffContext *s)
s->fax_opts = value;
break;
#define ADD_METADATA(count, name, sep)\
if (ret = add_metadata(count, type, name, sep, s) < 0) {\
if ((ret = add_metadata(count, type, name, sep, s)) < 0) {\
av_log(s->avctx, AV_LOG_ERROR, "Error allocating temporary buffer\n");\
return ret;\
}
......
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