diff mbox series

[FFmpeg-devel,v2,2/5] avcodec/x86/v210enc: replace register use with named register

Message ID 20221125151720.1655051-2-jdarnley@obe.tv
State New
Headers show
Series None | expand

Commit Message

James Darnley Nov. 25, 2022, 3:17 p.m. UTC
---
 libavcodec/x86/v210enc.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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