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;