1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

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 1b82b934a1)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-09-29 13:08:48 +02:00
parent f10ba15d73
commit f43dac169e

View File

@ -382,6 +382,7 @@ apply_noise_main:
%else %else
%define count m_maxq %define count m_maxq
%endif %endif
movsxdifnidn noiseq, noised
dec noiseq dec noiseq
shl count, 2 shl count, 2
%ifdef PIC %ifdef PIC