linux: add nvenc patch version 470.42.01

This commit is contained in:
Vladislav 2021-07-07 11:26:43 +03:00
parent 2a1a85483f
commit a5715ce069

View File

@ -151,6 +151,7 @@ declare -A patch_list=(
["465.24.02"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g'
["465.27"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g'
["465.31"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g'
["470.42.01"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g'
)
declare -A object_list=(
@ -257,6 +258,7 @@ declare -A object_list=(
["465.24.02"]='libnvidia-encode.so'
["465.27"]='libnvidia-encode.so'
["465.31"]='libnvidia-encode.so'
["470.42.01"]='libnvidia-encode.so'
)
check_version_supported () {