You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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:
@@ -481,8 +481,7 @@ static int mov_text_decode_frame(AVCodecContext *avctx,
|
|||||||
MovTextContext *m = avctx->priv_data;
|
MovTextContext *m = avctx->priv_data;
|
||||||
int ret;
|
int ret;
|
||||||
AVBPrint buf;
|
AVBPrint buf;
|
||||||
char *ptr = avpkt->data;
|
const char *ptr = avpkt->data, *end;
|
||||||
char *end;
|
|
||||||
int text_length, tsmb_type, ret_tsmb;
|
int text_length, tsmb_type, ret_tsmb;
|
||||||
uint64_t tsmb_size;
|
uint64_t tsmb_size;
|
||||||
const uint8_t *tsmb;
|
const uint8_t *tsmb;
|
||||||
|
Reference in New Issue
Block a user