Merge pull request #197 from Snawoot/linux_patch_libnvidia-encode

linux: switch to new patching style
This commit is contained in:
Snawoot 2019-11-23 11:51:21 +02:00 committed by GitHub
commit a2401e1fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ declare -A patch_list=(
["440.26"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.31"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.33.01"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.36"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.36"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
)
declare -A object_list=(
@ -121,7 +121,7 @@ declare -A object_list=(
["440.26"]='libnvcuvid.so'
["440.31"]='libnvcuvid.so'
["440.33.01"]='libnvcuvid.so'
["440.36"]='libnvcuvid.so'
["440.36"]='libnvidia-encode.so'
)
check_version_supported () {