Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 659546b42d6550e67fcdbb4937cd1982c60448aa)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -843,7 +843,7 @@ static int tiff_decode_tag(TiffContext *s) |
843 | 843 |
s->fax_opts = value; |
844 | 844 |
break; |
845 | 845 |
#define ADD_METADATA(count, name, sep)\ |
846 |
- if (ret = add_metadata(count, type, name, sep, s) < 0) {\ |
|
846 |
+ if ((ret = add_metadata(count, type, name, sep, s)) < 0) {\ |
|
847 | 847 |
av_log(s->avctx, AV_LOG_ERROR, "Error allocating temporary buffer\n");\ |
848 | 848 |
return ret;\ |
849 | 849 |
} |