aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-08 15:31:05 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-11 16:28:39 +0100
commitefd7b35d0688e7ffb0300288b15870b2070ddb69 (patch)
treec0c6f920ec30909870fc80a387174f6ae53c4c3f
parentb9f5a26a39efc0e49e2296306efde572630b1796 (diff)
downloadffmpeg-efd7b35d0688e7ffb0300288b15870b2070ddb69.tar.gz
avcodec/movtextdec: Use const where appropriate
Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/movtextdec.c3
1 files changed, 1 insertions, 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;