You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
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:
@ -876,7 +876,7 @@ static int decode_trns_chunk(AVCodecContext *avctx, PNGDecContext *s,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int decode_iccp_chunk(PNGDecContext *s, GetByteContext *gb, AVFrame *f)
|
static int decode_iccp_chunk(PNGDecContext *s, GetByteContext *gb)
|
||||||
{
|
{
|
||||||
int ret, cnt = 0;
|
int ret, cnt = 0;
|
||||||
AVBPrint bp;
|
AVBPrint bp;
|
||||||
@ -1313,7 +1313,7 @@ static int decode_frame_common(AVCodecContext *avctx, PNGDecContext *s,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MKTAG('i', 'C', 'C', 'P'): {
|
case MKTAG('i', 'C', 'C', 'P'): {
|
||||||
if ((ret = decode_iccp_chunk(s, &gb_chunk, p)) < 0)
|
if ((ret = decode_iccp_chunk(s, &gb_chunk)) < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user