Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-08 17:31:05 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-11 18:28:39 +0300
commitefd7b35d0688e7ffb0300288b15870b2070ddb69 (patch)
treec0c6f920ec30909870fc80a387174f6ae53c4c3f /libavcodec/movtextdec.c
parentb9f5a26a39efc0e49e2296306efde572630b1796 (diff)
avcodec/movtextdec: Use const where appropriate
Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/movtextdec.c')
-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;