Global: fixes bugs found by CI

The code quality is to be improved...
This commit is contained in:
Carter Li
2026-06-23 10:58:51 +08:00
parent 104b33c1f7
commit fa2c56cb9f
9 changed files with 25 additions and 21 deletions
+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";
}