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/tiff.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/tiff.c')
-rw-r--r-- | libavcodec/tiff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index d1e908fd43..9cd2876851 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -964,7 +964,8 @@ static int dng_decode_jpeg(AVCodecContext *avctx, AVFrame *frame, return 0; } -static int dng_decode_tiles(AVCodecContext *avctx, AVFrame *frame, AVPacket *avpkt) +static int dng_decode_tiles(AVCodecContext *avctx, AVFrame *frame, + const AVPacket *avpkt) { TiffContext *s = avctx->priv_data; int tile_idx; |