summaryrefslogtreecommitdiffstats
path: root/libavcodec/aactab.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2013-12-23 22:20:42 -0800
committerAlex Converse <alex.converse@gmail.com>2014-01-04 14:42:38 -0800
commitb2212dec0f011893ec68eecaa990170fa24050d7 (patch)
treead80a3da37a70b7a7a4a09c00d5986728bd785b4 /libavcodec/aactab.c
parente2096e2eaa9e75663d6bf0c37d342752aa5a146d (diff)
downloadffmpeg-streaming-b2212dec0f011893ec68eecaa990170fa24050d7.zip
ffmpeg-streaming-b2212dec0f011893ec68eecaa990170fa24050d7.tar.gz
aac: Fix TNS decoding for the 512 sample window family.
Diffstat (limited to 'libavcodec/aactab.c')
-rw-r--r--libavcodec/aactab.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/aactab.c b/libavcodec/aactab.c
index 77cbc2d..46aa10a 100644
--- a/libavcodec/aactab.c
+++ b/libavcodec/aactab.c
@@ -1237,6 +1237,10 @@ const uint8_t ff_tns_max_bands_1024[] = {
31, 31, 34, 40, 42, 51, 46, 46, 42, 42, 42, 39, 39
};
+const uint8_t ff_tns_max_bands_512[] = {
+ 0, 0, 0, 31, 32, 37, 31, 31, 0, 0, 0, 0, 0
+};
+
const uint8_t ff_tns_max_bands_128[] = {
9, 9, 10, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14
};
OpenPOWER on IntegriCloud