Commit 4eb311d0 authored by Alex Converse's avatar Alex Converse Committed by Robert Swain

Correctly map ADTS profile_ObjectType to MPEG-4 AOT

Patch by Alex Converse ( alex converse gmail com )

Originally committed as revision 17196 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ecb24904
...@@ -62,7 +62,7 @@ int ff_aac_parse_header(GetBitContext *gbc, AACADTSHeaderInfo *hdr) ...@@ -62,7 +62,7 @@ int ff_aac_parse_header(GetBitContext *gbc, AACADTSHeaderInfo *hdr)
skip_bits(gbc, 11); /* adts_buffer_fullness */ skip_bits(gbc, 11); /* adts_buffer_fullness */
rdb = get_bits(gbc, 2); /* number_of_raw_data_blocks_in_frame */ rdb = get_bits(gbc, 2); /* number_of_raw_data_blocks_in_frame */
hdr->object_type = aot; hdr->object_type = aot + 1;
hdr->chan_config = ch; hdr->chan_config = ch;
hdr->crc_absent = crc_abs; hdr->crc_absent = crc_abs;
hdr->num_aac_frames = rdb + 1; hdr->num_aac_frames = rdb + 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment