Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavcodec/movtextdec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c
index 5083308d58..001df6a5a1 100644
--- a/libavcodec/movtextdec.c
+++ b/libavcodec/movtextdec.c
@@ -481,8 +481,7 @@ static int mov_text_decode_frame(AVCodecContext *avctx,
MovTextContext *m = avctx->priv_data;
int ret;
AVBPrint buf;
- char *ptr = avpkt->data;
- char *end;
+ const char *ptr = avpkt->data, *end;
int text_length, tsmb_type, ret_tsmb;
uint64_t tsmb_size;
const uint8_t *tsmb;
--
2.32.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".