avcodec/pngdec: remove AVFrame argument from decode_iccp_chunk()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7117b380a7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
19f1e16170
commit
dc3cf73bfd
1 changed files with 2 additions and 2 deletions
|
|
@ -859,7 +859,7 @@ static int decode_trns_chunk(AVCodecContext *avctx, PNGDecContext *s,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int decode_iccp_chunk(PNGDecContext *s, int length, AVFrame *f)
|
||||
static int decode_iccp_chunk(PNGDecContext *s, int length)
|
||||
{
|
||||
int ret, cnt = 0;
|
||||
AVBPrint bp;
|
||||
|
|
@ -1322,7 +1322,7 @@ static int decode_frame_common(AVCodecContext *avctx, PNGDecContext *s,
|
|||
break;
|
||||
}
|
||||
case MKTAG('i', 'C', 'C', 'P'): {
|
||||
if ((ret = decode_iccp_chunk(s, length, p)) < 0)
|
||||
if ((ret = decode_iccp_chunk(s, length)) < 0)
|
||||
goto fail;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue