Consolidate decoder checks to reduce code duplication

This commit is contained in:
Cameron Gutman 2024-07-12 19:02:20 -05:00
commit 52583f5c71
2 changed files with 27 additions and 47 deletions

View file

@ -46,7 +46,7 @@ private:
bool createFrontendRenderer(PDECODER_PARAMETERS params, bool useAlternateFrontend);
static
bool isDecoderIgnored(const AVCodec* decoder);
bool isDecoderMatchForParams(const AVCodec *decoder, PDECODER_PARAMETERS params);
static
bool isZeroCopyFormat(AVPixelFormat format);