[FFmpeg-cvslog] h264_weight: initialize "height" function argument properly.

Ronald S. Bultje git at videolan.org
Sun Oct 23 05:53:09 CEST 2011


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Fri Oct 21 18:00:39 2011 -0700| [b0b323107427dd4d8a34d531ab87662d6d02f39d] | committer: Ronald S. Bultje

h264_weight: initialize "height" function argument properly.

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b0b323107427dd4d8a34d531ab87662d6d02f39d
---

 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



More information about the ffmpeg-cvslog mailing list