avcodec/pngdec: Fix () placement

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/269/head
Michael Niedermayer 7 years ago
parent e1be40bbb5
commit a2e444d5bb
  1. 2
      libavcodec/pngdec.c

@ -858,7 +858,7 @@ static int decode_iccp_chunk(PNGDecContext *s, int length, AVFrame *f)
length = FFMAX(length - 1, 0);
if ((ret = decode_zbuf(&bp, s->gb.buffer, s->gb.buffer + length) < 0))
if ((ret = decode_zbuf(&bp, s->gb.buffer, s->gb.buffer + length)) < 0)
return ret;
av_bprint_finalize(&bp, (char **)&data);

Loading…
Cancel
Save