summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-10-21 18:00:39 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-10-22 00:23:24 -0700
commitb0b323107427dd4d8a34d531ab87662d6d02f39d (patch)
treef9f95bae3c451242110177d1077b29f75ee334fd
parent27cedd838a5c9bdef540f5b3a69e03b324485f17 (diff)
downloadffmpeg-streaming-b0b323107427dd4d8a34d531ab87662d6d02f39d.zip
ffmpeg-streaming-b0b323107427dd4d8a34d531ab87662d6d02f39d.tar.gz
h264_weight: initialize "height" function argument properly.
Right now it's not actually initialized on 32-bit, leading to crashes on win32.
-rw-r--r--libavcodec/x86/h264_weight_10bit.asm1
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
OpenPOWER on IntegriCloud