Fix const warnings with FFmpeg 5.0

This commit is contained in:
Cameron Gutman 2022-04-21 22:13:11 -05:00
parent 6c215e47bf
commit 22f75b74f9

View File

@ -33,7 +33,7 @@
// General decoder and renderer state // General decoder and renderer state
static AVPacket* pkt; static AVPacket* pkt;
static AVCodec* decoder; static const AVCodec* decoder;
static AVCodecContext* decoder_ctx; static AVCodecContext* decoder_ctx;
static AVFrame** dec_frames; static AVFrame** dec_frames;