ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Wed Dec 8 15:31:05 2021 +0100| [efd7b35d0688e7ffb0300288b15870b2070ddb69] | committer: Andreas Rheinhardt
avcodec/movtextdec: Use const where appropriate Reviewed-by: Philip Langdale <phil...@overt.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=efd7b35d0688e7ffb0300288b15870b2070ddb69 --- 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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".