[FFmpeg-cvslog] r17196 - trunk/libavcodec/aac_parser.c

superdump subversion
Fri Feb 13 01:08:15 CET 2009


Author: superdump
Date: Fri Feb 13 01:08:15 2009
New Revision: 17196

Log:
Correctly map ADTS profile_ObjectType to MPEG-4 AOT

Patch by Alex Converse ( alex converse gmail com )

Modified:
   trunk/libavcodec/aac_parser.c

Modified: trunk/libavcodec/aac_parser.c
==============================================================================
--- trunk/libavcodec/aac_parser.c	Fri Feb 13 01:02:33 2009	(r17195)
+++ trunk/libavcodec/aac_parser.c	Fri Feb 13 01:08:15 2009	(r17196)
@@ -62,7 +62,7 @@ int ff_aac_parse_header(GetBitContext *g
     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;




More information about the ffmpeg-cvslog mailing list