Module: libav
Branch: master
Commit: b0b323107427dd4d8a34d531ab87662d6d02f39d

Author:    Ronald S. Bultje <[email protected]>
Committer: Ronald S. Bultje <[email protected]>
Date:      Fri Oct 21 18:00:39 2011 -0700

h264_weight: initialize "height" function argument properly.

Right now it's not actually initialized on 32-bit, leading to crashes
on win32.

---

 libavcodec/x86/h264_weight_10bit.asm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/x86/h264_weight_10bit.asm 
b/libavcodec/x86/h264_weight_10bit.asm
index 20df6fb..9c4b276 100644
--- a/libavcodec/x86/h264_weight_10bit.asm
+++ b/libavcodec/x86/h264_weight_10bit.asm
@@ -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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to