Browse code

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

Alex Converse authored on 2009/02/13 09:08:15
Showing 1 changed files
... ...
@@ -62,7 +62,7 @@ int ff_aac_parse_header(GetBitContext *gbc, AACADTSHeaderInfo *hdr)
62 62
     skip_bits(gbc, 11);          /* adts_buffer_fullness */
63 63
     rdb = get_bits(gbc, 2);      /* number_of_raw_data_blocks_in_frame */
64 64
 
65
-    hdr->object_type    = aot;
65
+    hdr->object_type    = aot + 1;
66 66
     hdr->chan_config    = ch;
67 67
     hdr->crc_absent     = crc_abs;
68 68
     hdr->num_aac_frames = rdb + 1;