tiff: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
37be1d802f
commit
659546b42d
@ -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;\
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user