ffmpeg | branch: release/4.4 | Michael Niedermayer <mich...@niedermayer.cc> | Sun Apr 16 15:05:47 2023 +0200| [dc3cf73bfdc014c5b81027cdd7963da8df69843f] | committer: Michael Niedermayer
avcodec/pngdec: remove AVFrame argument from decode_iccp_chunk() Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> (cherry picked from commit 7117b380a7eb9419625aa8835edec2c3c17e638b) Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dc3cf73bfdc014c5b81027cdd7963da8df69843f --- libavcodec/pngdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 6301080832..042ad1b062 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -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; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".