]> git.sesse.net Git - ffmpeg/commit
ac3dec: fix non-optimal dithering of zero bit mantissas
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Jan 2013 13:16:34 +0000 (14:16 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Jan 2013 13:22:04 +0000 (14:22 +0100)
commitfbdb0313f53f84f5a8a5a23ad1880bf7ef4dcc5f
tree6eafc2fe2ebf013164ad384945383954e9c2bf7e
parent144529e09493fa5e395eabb8a214e6aec1cfc166
ac3dec: fix non-optimal dithering of zero bit mantissas

Use a noise range of -0.707 to 0.707 instead of -0.5 to 0.5

Based on patch by: Mathias Rauen <madshi@gmail.com> and commit by Justin Ruggles (04ea5491)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ac3dec.c
tests/fate/ac3.mak