aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:06:44 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-18 05:14:31 +0100
commit2338eda8d8fd84ec426bf8ade7fe81a266ae60fe (patch)
tree4740b7c21b911d397f8b4a98021fa9194fe13bc5
parent6a0633e961f4911c98f374e7b3b690e3dc7cc5cc (diff)
downloadffmpeg-2338eda8d8fd84ec426bf8ade7fe81a266ae60fe.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 558e748d5c..85a5823c35 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -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;\
}