ac3dsp: do not use pshufb in ac3_extract_exponents_ssse3()
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 9 Feb 2012 18:00:30 +0000 (13:00 -0500)
committerReinhard Tartler <siretart@tauware.de>
Tue, 6 Mar 2012 12:55:35 +0000 (13:55 +0100)
commit4ae138cb1211779b312419f5d7d25369dc97ad77
tree2270588f1cc1d47bf33b2a00319b14e675143e07
parent003f7e3dd0debfaa28622bd81e77f9217043ee28
ac3dsp: do not use pshufb in ac3_extract_exponents_ssse3()

We need to do unsigned saturation in order to cover the corner case when the
absolute coefficient value is 16777215 (the maximum value).

Fixes Bug #216
(cherry picked from commit d483bb58c318b0a6152709cf28263d72200b98f9)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/x86/ac3dsp.asm