Bug 979761 - [RTSP] Crash when playing RTSP streaming with MPEG AAC Audio codec (regression caused by bug 970271). r=vchang

This commit is contained in:
Ethan Tseng 2014-03-05 16:12:21 +08:00
parent e000a04c10
commit 974270675b

View File

@ -108,6 +108,7 @@ static status_t parseAudioObjectType(
static status_t parseGASpecificConfig(
ABitReader *bits,
unsigned audioObjectType, unsigned channelConfiguration) {
/*unsigned frameLengthFlag = */bits->getBits(1);
unsigned dependsOnCoreCoder = bits->getBits(1);
if (dependsOnCoreCoder) {
/* unsigned coreCoderDelay = */bits->getBits(1);