summaryrefslogtreecommitdiff
path: root/libavcodec/textdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/textdec.c')
-rw-r--r--libavcodec/textdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/textdec.c b/libavcodec/textdec.c
index 09de0ad8fd..d509452391 100644
--- a/libavcodec/textdec.c
+++ b/libavcodec/textdec.c
@@ -46,7 +46,7 @@ static const AVOption options[] = {
};
static int text_decode_frame(AVCodecContext *avctx, AVSubtitle *sub,
- int *got_sub_ptr, AVPacket *avpkt)
+ int *got_sub_ptr, const AVPacket *avpkt)
{
int ret = 0;
AVBPrint buf;