1
0
Fork 0
forked from suyu/suyu

Merge pull request #7749 from jbeich/ffmpeg5

video_core: unbreak build with FFmpeg 5.0
This commit is contained in:
Mai M 2022-01-20 13:56:32 -05:00 committed by GitHub
commit 55ef89a9c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ private:
bool initialized{};
NvdecCommon::VideoCodec current_codec{NvdecCommon::VideoCodec::None};
AVCodec* av_codec{nullptr};
const AVCodec* av_codec{nullptr};
AVCodecContext* av_codec_ctx{nullptr};
AVBufferRef* av_gpu_decoder{nullptr};