From 22f75b74f9b037348df0041cb9cc50800745dfa4 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 21 Apr 2022 22:13:11 -0500 Subject: [PATCH] Fix const warnings with FFmpeg 5.0 --- src/video/ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/ffmpeg.c b/src/video/ffmpeg.c index d34849a..073673b 100644 --- a/src/video/ffmpeg.c +++ b/src/video/ffmpeg.c @@ -33,7 +33,7 @@ // General decoder and renderer state static AVPacket* pkt; -static AVCodec* decoder; +static const AVCodec* decoder; static AVCodecContext* decoder_ctx; static AVFrame** dec_frames;