[FFmpeg-cvslog] avcodec/x86/sbrdsp: Fix using uninitialized upper 32bit of noise

Michael Niedermayer git at videolan.org
Thu Nov 26 17:54:57 CET 2015


ffmpeg | branch: release/2.5 | Michael Niedermayer <michael at niedermayer.cc> | Tue Sep 29 13:08:48 2015 +0200| [2205fcd3dea8ec6779a942932bdb96f56f63b3f4] | committer: Michael Niedermayer

avcodec/x86/sbrdsp: Fix using uninitialized upper 32bit of noise

Fixes crash
Fixes: flicker-1.scout3d21443372922.28.m4a

Found-by: Dale Curtis <dalecurtis at google.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 1b82b934a166e60f64e966eaa97512ba9dcb615b)

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/x86/sbrdsp.asm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/x86/sbrdsp.asm b/libavcodec/x86/sbrdsp.asm
index 6f2e4f4..f7f7fe9 100644
--- a/libavcodec/x86/sbrdsp.asm
+++ b/libavcodec/x86/sbrdsp.asm
@@ -381,6 +381,7 @@ apply_noise_main:
 %else
 %define count m_maxq
 %endif
+    movsxdifnidn    noiseq, noised
     dec    noiseq
     shl    count, 2
 %ifdef PIC



More information about the ffmpeg-cvslog mailing list