[FFmpeg-devel] [PATCH 2/3] avcodec/x86/v210: replace register use with named register

James Darnley jdarnley at obe.tv
Mon Nov 21 14:44:07 EET 2022


---
 libavcodec/x86/v210enc.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/v210enc.asm b/libavcodec/x86/v210enc.asm
index afac238ede..c2ad3d72c0 100644
--- a/libavcodec/x86/v210enc.asm
+++ b/libavcodec/x86/v210enc.asm
@@ -62,7 +62,7 @@ SECTION .text
 
 ; v210_planar_pack_10(const uint16_t *y, const uint16_t *u, const uint16_t *v, uint8_t *dst, ptrdiff_t width)
 cglobal v210_planar_pack_10, 5, 5, 4+cpuflag(avx2), y, u, v, dst, width
-    lea     r0, [yq+2*widthq]
+    lea     yq, [yq+2*widthq]
     add     uq, widthq
     add     vq, widthq
     neg     widthq
-- 
2.38.0



More information about the ffmpeg-devel mailing list