Skip to content

Commit 1836729

Browse files
committed
Stop treating reserve 0x41 object type as AAC.
It's not clear why this was ever treated as AAC, but the original code addition included it. 0x41 is listed a reserved type in the specs. There was no special handling of 0x41 in stagefright, so this doesn't seem to be a compatibility carry-over from there, either. See PR 126 for further rationale.
1 parent d99304b commit 1836729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mp4parse/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4068,7 +4068,7 @@ fn read_dc_descriptor(data: &[u8], esds: &mut ES_Descriptor) -> Result<()> {
40684068
}
40694069

40704070
esds.audio_codec = match object_profile {
4071-
0x40 | 0x41 | 0x66 | 0x67 => CodecType::AAC,
4071+
0x40 | 0x66 | 0x67 => CodecType::AAC,
40724072
0x69 | 0x6B => CodecType::MP3,
40734073
_ => CodecType::Unknown,
40744074
};

0 commit comments

Comments
 (0)