summaryrefslogtreecommitdiff
path: root/libavcodec/flashsv.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-04 13:13:20 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-09 13:41:22 +0100
commit74bffc00c541079e5a052988485f26cdd4d43bb0 (patch)
treeee022c5d2e37f4229e0b4b5a28217b11fd2c6b3e /libavcodec/flashsv.c
parent74b5564fb51107fc512bd25081ce7e11cb35871e (diff)
avcodec: Constify some AVPackets
Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/flashsv.c')
-rw-r--r--libavcodec/flashsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c
index f55cb0feeb..9481f80f0b 100644
--- a/libavcodec/flashsv.c
+++ b/libavcodec/flashsv.c
@@ -179,7 +179,7 @@ static int flashsv2_prime(FlashSVContext *s, uint8_t *src, int size)
return 0;
}
-static int flashsv_decode_block(AVCodecContext *avctx, AVPacket *avpkt,
+static int flashsv_decode_block(AVCodecContext *avctx, const AVPacket *avpkt,
GetBitContext *gb, int block_size,
int width, int height, int x_pos, int y_pos,
int blk_idx)