Adapt to constification of AVCodec in FFmpeg master

This commit is contained in:
Cameron Gutman
2021-05-24 23:26:38 -05:00
parent c17c8e2a2c
commit 56119eebae
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ public:
virtual IFFmpegRenderer* getBackendRenderer();
private:
bool completeInitialization(AVCodec* decoder, PDECODER_PARAMETERS params, bool testFrame, bool eglOnly);
bool completeInitialization(const AVCodec* decoder, PDECODER_PARAMETERS params, bool testFrame, bool eglOnly);
void stringifyVideoStats(VIDEO_STATS& stats, char* output);
@@ -39,7 +39,7 @@ private:
bool tryInitializeRendererForDecoderByName(const char* decoderName,
PDECODER_PARAMETERS params);
bool tryInitializeRenderer(AVCodec* decoder,
bool tryInitializeRenderer(const AVCodec* decoder,
PDECODER_PARAMETERS params,
const AVCodecHWConfig* hwConfig,
std::function<IFFmpegRenderer*()> createRendererFunc);