diff mbox series

[FFmpeg-devel,4/4] avcodec/flicvideo: Remove unnecessary cast

Message ID AS8P250MB07443B83D95DE9FF76E57DDE8FF2A@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 740ce93fae72fc5e8f16e9c293cc9aa1cf530522
Headers show
Series [FFmpeg-devel,1/4] avcodec/libaribb24, ttmlenc, avutil/tx: Remove redundant init of AVBPrint | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 11, 2023, 3:31 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/flicvideo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul B Mahol Sept. 11, 2023, 5:10 p.m. UTC | #1
LGTM
diff mbox series

Patch

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 &&