[FFmpeg-devel] [PATCH 13/16] tiff: Fix assignments in if()
Michael Niedermayer
michaelni at gmx.at
Mon Jan 14 00:20:22 CET 2013
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavcodec/tiff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index c16ce13..d5fba7e 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;\
}
--
1.7.9.5
More information about the ffmpeg-devel
mailing list