mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-04 12:14:19 +01:00
Global: fixes bugs found by CI
The code quality is to be improved...
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user