h264_weight: initialize "height" function argument properly.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 22 Oct 2011 01:00:39 +0000 (18:00 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 22 Oct 2011 07:23:24 +0000 (00:23 -0700)
Right now it's not actually initialized on 32-bit, leading to crashes
on win32.

libavcodec/x86/h264_weight_10bit.asm

index 20df6fbab56d1021ba8fd51afb6dac759dccbdc3..9c4b276e49c6644879cd1f127bbe4c923e11f89d 100644 (file)
@@ -44,6 +44,7 @@ SECTION .text
     PROLOGUE 0,6,8
     movifnidn  r0, r0mp
     movifnidn r1d, r1m
+    movifnidn r2d, r2m
     movifnidn r4d, r4m
     movifnidn r5d, r5m
 %endmacro