From 72b69beb5b1c2b26773649ca2f24dd0531d9c9a7 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 14 Dec 2013 18:15:40 +0100 Subject: add case 960 to bandwidth.cpp --- libAACenc/src/bandwidth.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libAACenc/src') 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 -- cgit v1.2.3