Codec (Linux): fixes bug in ffDetectCodecByVdpau

This commit is contained in:
Carter Li
2026-06-19 23:02:13 +08:00
parent 8f0a12323b
commit 677c213397
+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";
}