Browse Source

tiff: Fix assignments in if()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
659546b42d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/tiff.c

+ 1
- 1
libavcodec/tiff.c View File

@@ -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;\
}


Loading…
Cancel
Save