avcodec/x86/sbrdsp: Fix using uninitialized upper 32bit of noise
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 29 Sep 2015 11:08:48 +0000 (13:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 8 Oct 2015 11:15:42 +0000 (13:15 +0200)
Fixes crash
Fixes: flicker-1.scout3d21443372922.28.m4a

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/x86/sbrdsp.asm

index 6600ba1..b6fa535 100644 (file)
@@ -382,6 +382,7 @@ apply_noise_main:
 %else
 %define count m_maxq
 %endif
+    movsxdifnidn    noiseq, noised
     dec    noiseq
     shl    count, 2
 %ifdef PIC