Limit svt-av1 to 7.1+

This commit is contained in:
BtbN 2025-03-03 19:26:55 +01:00
parent 4d475942cf
commit 6d76c14716
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@ SCRIPT_COMMIT="af1ccfc1cb082dd5b861676627dcecf5595e62b0"
ffbuild_enabled() { ffbuild_enabled() {
[[ $TARGET == win32 ]] && return -1 [[ $TARGET == win32 ]] && return -1
(( $(ffbuild_ffver) > 700 )) || return -1
return 0 return 0
} }

View File

@ -57,6 +57,9 @@ ffbuild_ffver() {
*7.0*) *7.0*)
echo 700 echo 700
;; ;;
*7.1*)
echo 701
;;
*) *)
echo 99999999 echo 99999999
;; ;;