summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-14 18:15:40 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-14 18:15:40 +0100
commit72b69beb5b1c2b26773649ca2f24dd0531d9c9a7 (patch)
tree1f9c470efb031a56407c391c37ffaf67e9d1951e
parent590b367a5d1e83ba5fe9c96b05e0bf16e0670048 (diff)
downloadfdk-aac-72b69beb5b1c2b26773649ca2f24dd0531d9c9a7.tar.gz
fdk-aac-72b69beb5b1c2b26773649ca2f24dd0531d9c9a7.tar.bz2
fdk-aac-72b69beb5b1c2b26773649ca2f24dd0531d9c9a7.zip
add case 960 to bandwidth.cpp
-rw-r--r--libAACenc/src/bandwidth.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libAACenc/src/bandwidth.cpp b/libAACenc/src/bandwidth.cpp
index 6fc7d87..703658b 100644
--- a/libAACenc/src/bandwidth.cpp
+++ b/libAACenc/src/bandwidth.cpp
@@ -204,6 +204,7 @@ static INT GetBandwidthEntry(
INT bwTabSize = 0;
switch (frameLength) {
+ case 960:
case 1024:
pBwTab = bandWidthTable;
bwTabSize = sizeof(bandWidthTable)/sizeof(BANDWIDTH_TAB);
@@ -252,6 +253,7 @@ static INT GetBandwidthEntry(
chanBitRate < pBwTab[i+1].chanBitRate)
{
switch (frameLength) {
+ case 960:
case 1024:
bandwidth = (entryNo==0)
? pBwTab[i].bandWidthMono