Fix unused parameter warning on non-macOS platforms

This commit is contained in:
Cameron Gutman
2026-07-26 20:03:04 -05:00
parent f8158e02fb
commit 3aa111e825
+2
View File
@@ -990,6 +990,8 @@ void FFmpegVideoDecoder::logVideoStats(VIDEO_STATS& stats, const char* title)
IFFmpegRenderer* FFmpegVideoDecoder::createHwAccelRenderer(const AVCodecHWConfig* hwDecodeCfg, PDECODER_PARAMETERS params, int pass)
{
Q_UNUSED(params);
if (!(hwDecodeCfg->methods & AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX)) {
return nullptr;
}