summaryrefslogtreecommitdiff
path: root/libavcodec/audiotoolboxdec.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/audiotoolboxdec.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/audiotoolboxdec.c')
-rw-r--r--libavcodec/audiotoolboxdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
index 1f3f7f5ac5..8f9a8d5c27 100644
--- a/libavcodec/audiotoolboxdec.c
+++ b/libavcodec/audiotoolboxdec.c
@@ -296,7 +296,8 @@ static int ffat_set_extradata(AVCodecContext *avctx)
return 0;
}
-static av_cold int ffat_create_decoder(AVCodecContext *avctx, AVPacket *pkt)
+static av_cold int ffat_create_decoder(AVCodecContext *avctx,
+ const AVPacket *pkt)
{
ATDecodeContext *at = avctx->priv_data;
OSStatus status;