diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:06:44 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 05:05:39 +0100 |
commit | 659546b42d6550e67fcdbb4937cd1982c60448aa (patch) | |
tree | 2e5e618fa99ed5a344668cb16017ffbbb63690d7 /libavcodec/tiff.c | |
parent | 37be1d802f2e2c21036a54bb15423a41d5aabefb (diff) | |
download | ffmpeg-659546b42d6550e67fcdbb4937cd1982c60448aa.tar.gz |
tiff: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/tiff.c')
-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 c16ce137a7..d5fba7ea6f 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;\ } |