summaryrefslogtreecommitdiff
path: root/libavcodec/webvttdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/webvttdec.c')
-rw-r--r--libavcodec/webvttdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c
index 0179fc26d2..fcf1062d86 100644
--- a/libavcodec/webvttdec.c
+++ b/libavcodec/webvttdec.c
@@ -81,7 +81,7 @@ static int webvtt_event_to_ass(AVBPrint *buf, const char *p)
}
static int webvtt_decode_frame(AVCodecContext *avctx, AVSubtitle *sub,
- int *got_sub_ptr, AVPacket *avpkt)
+ int *got_sub_ptr, const AVPacket *avpkt)
{
int ret = 0;
const char *ptr = avpkt->data;