avcodec/mpegaudiodec_template: use double to build csa tables
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2015 11:36:14 +0000 (13:36 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2015 11:50:37 +0000 (13:50 +0200)
commit8768f8f4b92990e5b9c5df1024438122532998d4
tree84bff22ec89d5c20a458064e06fdca482e913d22
parent38f67260684aec8a02d87ab4056b1a1fbf964c03
avcodec/mpegaudiodec_template: use double to build csa tables

Fixes rounding difference between 32bit x86 and 64bit
Fixes fate failure with gapless mp3

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegaudiodec_template.c
tests/ref/fate/gapless-mp3