Browse Source

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>
tags/n2.8.1
Michael Niedermayer 10 years ago
parent
commit
818ebcbf5c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/x86/sbrdsp.asm

+ 1
- 0
libavcodec/x86/sbrdsp.asm View File

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


Loading…
Cancel
Save