Fix const warnings in ffmpeg h264 module

This commit is contained in:
Armin Novak 2022-10-10 11:57:13 +02:00 committed by akallabeth
parent 71b568ac30
commit b04c0e7b1c

View File

@ -71,9 +71,9 @@ static inline char* error_string(char* errbuf, size_t errbuf_size, int errnum)
typedef struct
{
AVCodec* codecDecoder;
const AVCodec* codecDecoder;
AVCodecContext* codecDecoderContext;
AVCodec* codecEncoder;
const AVCodec* codecEncoder;
AVCodecContext* codecEncoderContext;
AVCodecParserContext* codecParser;
AVFrame* videoFrame;