mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/movtextdec: Use const where appropriate
Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
b9f5a26a39
commit
efd7b35d06
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user