mirror of https://github.com/mstorsjo/fdk-aac.git
Revert "Don't use an enum for a value read directly from the bitstream"
This reverts commit e7d8591ff2
.
This local fix doesn't seem to be needed any more after the latest
upstream update.
This commit is contained in:
parent
60a11ea3ef
commit
d9a9f3b793
|
@ -1631,14 +1631,14 @@ static TRANSPORTDEC_ERROR configExtension(CSUsacConfig *usc,
|
|||
TRANSPORTDEC_ERROR ErrorStatus = TRANSPORTDEC_OK;
|
||||
|
||||
int numConfigExtensions;
|
||||
int usacConfigExtType;
|
||||
CONFIG_EXT_ID usacConfigExtType;
|
||||
int usacConfigExtLength;
|
||||
|
||||
numConfigExtensions = (int)escapedValue(hBs, 2, 4, 8) + 1;
|
||||
for (int confExtIdx = 0; confExtIdx < numConfigExtensions; confExtIdx++) {
|
||||
INT nbits;
|
||||
int loudnessInfoSetConfigExtensionPosition = FDKgetValidBits(hBs);
|
||||
usacConfigExtType = escapedValue(hBs, 4, 8, 16);
|
||||
usacConfigExtType = (CONFIG_EXT_ID)escapedValue(hBs, 4, 8, 16);
|
||||
usacConfigExtLength = (int)escapedValue(hBs, 4, 8, 16);
|
||||
|
||||
/* Start bit position of config extension */
|
||||
|
|
Loading…
Reference in New Issue