aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-09-29 13:08:48 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-11-12 02:55:46 +0100
commitf43dac169efde3e6499cb85ccd87bb4a6c44c3c8 (patch)
tree3e3b28ddef41d0c9b5372cd743c9dc5b44497e37
parentf10ba15d7371203e16cee3fb9e46bae9febcb6da (diff)
downloadffmpeg-f43dac169efde3e6499cb85ccd87bb4a6c44c3c8.tar.gz
avcodec/x86/sbrdsp: Fix using uninitialized upper 32bit of noise
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>
-rw-r--r--libavcodec/x86/sbrdsp.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/x86/sbrdsp.asm b/libavcodec/x86/sbrdsp.asm
index 083461a107..498c136abd 100644
--- a/libavcodec/x86/sbrdsp.asm
+++ b/libavcodec/x86/sbrdsp.asm
@@ -382,6 +382,7 @@ apply_noise_main:
%else
%define count m_maxq
%endif
+ movsxdifnidn noiseq, noised
dec noiseq
shl count, 2
%ifdef PIC