Browse Source

Merge pull request #7749 from jbeich/ffmpeg5

video_core: unbreak build with FFmpeg 5.0
nce_cpp
Mai M 4 years ago
committed by GitHub
parent
commit
203610c3d3
  1. 2
      src/video_core/command_classes/codecs/codec.h

2
src/video_core/command_classes/codecs/codec.h

@ -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};

Loading…
Cancel
Save