[FFmpeg-cvslog] avcodec/flicvideo: Remove unnecessary cast

Andreas Rheinhardt git at videolan.org
Mon Sep 11 21:36:02 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Sep 11 17:12:56 2023 +0200| [740ce93fae72fc5e8f16e9c293cc9aa1cf530522] | committer: Andreas Rheinhardt

avcodec/flicvideo: Remove unnecessary cast

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=740ce93fae72fc5e8f16e9c293cc9aa1cf530522
---

 libavcodec/flicvideo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c
index e4b334e10f..8531eb715c 100644
--- a/libavcodec/flicvideo.c
+++ b/libavcodec/flicvideo.c
@@ -79,7 +79,7 @@ typedef struct FlicDecodeContext {
 static av_cold int flic_decode_init(AVCodecContext *avctx)
 {
     FlicDecodeContext *s = avctx->priv_data;
-    unsigned char *fli_header = (unsigned char *)avctx->extradata;
+    uint8_t *fli_header = avctx->extradata;
     int depth;
 
     if (avctx->extradata_size != 0 &&



More information about the ffmpeg-cvslog mailing list