x86/hevc_idct: fix movd parameter size in DC_ADD_INIT

Fixes compilation with NASM x86_64

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/76/merge
James Almer 11 years ago committed by Michael Niedermayer
parent fe782233aa
commit 454c019cb5
  1. 2
      libavcodec/x86/hevc_idct.asm

@ -32,7 +32,7 @@ SECTION .text
%macro DC_ADD_INIT 2 %macro DC_ADD_INIT 2
add %1w, ((1 << 14-8) + 1) add %1w, ((1 << 14-8) + 1)
sar %1w, (15-8) sar %1w, (15-8)
movd m0, %1 movd m0, %1d
lea %1, [%2*3] lea %1, [%2*3]
SPLATW m0, m0, 0 SPLATW m0, m0, 0
pxor m1, m1 pxor m1, m1

Loading…
Cancel
Save