From 7a35e5c985b412d5a84083d1416d3207a40b3e97 Mon Sep 17 00:00:00 2001 From: TheJeterLP Date: Thu, 21 Jul 2022 17:04:30 +0200 Subject: [PATCH] fix: crash when using force-vp9-codec patch --- .../patches/youtube/misc/forcevp9/patch/ForceVP9CodecPatch.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/forcevp9/patch/ForceVP9CodecPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/forcevp9/patch/ForceVP9CodecPatch.kt index a830890cd..1746e6f29 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/forcevp9/patch/ForceVP9CodecPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/forcevp9/patch/ForceVP9CodecPatch.kt @@ -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 """ ) }