[FFmpeg-cvslog] swr: fix 10l use of uninitialized data

Michael Niedermayer git at videolan.org
Wed Jun 13 13:47:47 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jun 13 13:43:42 2012 +0200| [5f8f6243ef99e60f443785340b4bde42881fb1e3] | committer: Michael Niedermayer

swr: fix 10l use of uninitialized data

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libswresample/x86/rematrix.asm |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswresample/x86/rematrix.asm b/libswresample/x86/rematrix.asm
index 4d66deb..ee50e20 100644
--- a/libswresample/x86/rematrix.asm
+++ b/libswresample/x86/rematrix.asm
@@ -43,7 +43,7 @@ mix_2_1_float_u_int %+ SUFFIX
 %endif
     VBROADCASTSS m4, [coeffpq + 4*index1q]
     VBROADCASTSS m5, [coeffpq + 4*index2q]
-    shl lenq    , 2
+    shl lend    , 2
     add in1q    , lenq
     add in2q    , lenq
     add outq    , lenq
@@ -180,7 +180,7 @@ mix_2_1_int16_u_int %+ SUFFIX
     pslld  m7, m4
     psrld  m7, 1
     punpcklwd m5, m6
-    add lenq    , lenq
+    add lend    , lend
     add in1q    , lenq
     add in2q    , lenq
     add outq    , lenq



More information about the ffmpeg-cvslog mailing list