aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-08-22 18:36:26 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-08-22 18:55:11 +0200
commita2e444d5bb2e3115d3afcc0cca9d1506c90436a2 (patch)
treea9b1645f81d746ede6d942c18579433973f3133c
parente1be40bbb57811b45d68a070dd66791315b01dc6 (diff)
downloadffmpeg-a2e444d5bb2e3115d3afcc0cca9d1506c90436a2.tar.gz
avcodec/pngdec: Fix () placement
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/pngdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c
index 4fc1c5a062..dce8faf168 100644
--- a/libavcodec/pngdec.c
+++ b/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);