diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-04 13:13:20 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-09 13:41:22 +0100 |
commit | 74bffc00c541079e5a052988485f26cdd4d43bb0 (patch) | |
tree | ee022c5d2e37f4229e0b4b5a28217b11fd2c6b3e /libavcodec/pngdec.c | |
parent | 74b5564fb51107fc512bd25081ce7e11cb35871e (diff) | |
download | ffmpeg-74bffc00c541079e5a052988485f26cdd4d43bb0.tar.gz |
avcodec: Constify some AVPackets
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r-- | libavcodec/pngdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index cece08ebca..a5a71ef161 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -1179,7 +1179,7 @@ static int handle_p_frame_apng(AVCodecContext *avctx, PNGDecContext *s, } static int decode_frame_common(AVCodecContext *avctx, PNGDecContext *s, - AVFrame *p, AVPacket *avpkt) + AVFrame *p, const AVPacket *avpkt) { const AVCRC *crc_tab = av_crc_get_table(AV_CRC_32_IEEE_LE); AVDictionary **metadatap = NULL; |