mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/pngdec: Fix () placement
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e1be40bbb5
commit
a2e444d5bb
@ -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…
Reference in New Issue
Block a user