Global: fixes bugs found by CI

The code quality is to be improved...
This commit is contained in:
Carter Li committed 2026-06-23 13:16:49 +08:00
1 parent 104b33c1f7
commit fa2c56cb9f
9 files changed
+25 -21

No files matched your search

+1 -1
View File
@@ -306,7 +306,7 @@ static const struct FFCodecVdpauCodec {
};
static const char* ffDetectCodecByVdpau(FFCodecOptions* options, FFlist* result) {
if (options->showType != FF_CODEC_SHOW_TYPE_DECODER) {
if (!(options->showType & FF_CODEC_SHOW_TYPE_DECODER)) {
return "VDPAU only supports decoding";
}