diff options
author | Alex Converse <alex.converse@gmail.com> | 2009-02-13 00:08:15 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2009-02-13 00:08:15 +0000 |
commit | 4eb311d01cc91e371e30ffd470672e83b6d7cc3e (patch) | |
tree | e4e19724eb6b90186a675fd0aeb07b73049652b4 /libavcodec/aac_parser.c | |
parent | ecb24904fe55e463cdef58a0d55f06b27133ccdf (diff) | |
download | ffmpeg-4eb311d01cc91e371e30ffd470672e83b6d7cc3e.tar.gz |
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
Diffstat (limited to 'libavcodec/aac_parser.c')
-rw-r--r-- | libavcodec/aac_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aac_parser.c b/libavcodec/aac_parser.c index de337316be..199e64b734 100644 --- a/libavcodec/aac_parser.c +++ b/libavcodec/aac_parser.c @@ -62,7 +62,7 @@ int ff_aac_parse_header(GetBitContext *gbc, AACADTSHeaderInfo *hdr) skip_bits(gbc, 11); /* adts_buffer_fullness */ 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->crc_absent = crc_abs; hdr->num_aac_frames = rdb + 1; |