Skip to content

Commit

Permalink
Limit svt-av1 to 7.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
BtbN committed Mar 3, 2025
1 parent 4d47594 commit 6d76c14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts.d/50-svtav1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ SCRIPT_COMMIT="af1ccfc1cb082dd5b861676627dcecf5595e62b0"

ffbuild_enabled() {
[[ $TARGET == win32 ]] && return -1
(( $(ffbuild_ffver) > 700 )) || return -1
return 0
}

Expand Down
3 changes: 3 additions & 0 deletions util/vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ ffbuild_ffver() {
*7.0*)
echo 700
;;
*7.1*)
echo 701
;;
*)
echo 99999999
;;
Expand Down

0 comments on commit 6d76c14

Please sign in to comment.