fix: crash when using force-vp9-codec patch

This commit is contained in:
TheJeterLP 2022-07-21 17:04:30 +02:00
parent 791755fb90
commit 7a35e5c985
No known key found for this signature in database
GPG key ID: D8CFD6FCF7215E6C

View file

@ -78,8 +78,8 @@ class ForceVP9CodecPatch : BytecodePatch(
method.removeInstruction(index)
method.addInstructions(
index, """
invoke-static {v$register}, Lapp/revanced/integrations/patches/ForceCodecPatch;->get$name()Ljava/lang/String;
move-result v$register
invoke-static {}, Lapp/revanced/integrations/patches/ForceCodecPatch;->get$name()Ljava/lang/String;
move-result-object v$register
"""
)
}