diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:06:44 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-20 23:04:40 +0100 |
commit | ee8d38191fbfdc90ebd0c95f8793cc4cb11c1558 (patch) | |
tree | 6c224f4be9ebc64b3c5b75b20d0619b79d963e60 | |
parent | f00a9f00034ca3e4b2e5a20a861df881982b0563 (diff) | |
download | ffmpeg-ee8d38191fbfdc90ebd0c95f8793cc4cb11c1558.tar.gz |
tiff: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 659546b42d6550e67fcdbb4937cd1982c60448aa)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/tiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index e8f2a8d92e..5be154fbb2 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -843,7 +843,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;\ } |