eac3dec: fix scaling
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Sat, 14 Mar 2015 11:48:59 +0000 (11:48 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 14 Mar 2015 13:05:25 +0000 (14:05 +0100)
commit0c3339f4bd7aceebfd74deb437ba2e5c04ef3d0e
tree29ef27c6ae06eaddc3b59dca26dece2caab3d5a2
parentc4bf3833f4663fd484441907f73c5bc4700021a4
eac3dec: fix scaling

This is the remaining error, the output on the SPX samples,
respectively csi_miami_stereo_128_spx.eac3 and
csi_miami_5.1_256_spx.eac3, goes from:
stddev:    8.71 PSNR: 77.52 MAXDIFF:  235
stddev:24270.51 PSNR: 22.17 MAXDIFF:47166
to:
stddev:    0.12 PSNR:114.12 MAXDIFF:    1
stddev:    0.12 PSNR:114.73 MAXDIFF:    1

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/eac3dec.c