changeset 8819:b6e7247d3f0e libavcodec

Correctly map ADTS profile_ObjectType to MPEG-4 AOT Patch by Alex Converse ( alex converse gmail com )
author superdump
date Fri, 13 Feb 2009 00:08:15 +0000
parents 17cc6df384a6
children 7400956a815d
files aac_parser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/aac_parser.c	Fri Feb 13 00:02:33 2009 +0000
+++ b/aac_parser.c	Fri Feb 13 00:08:15 2009 +0000
@@ -62,7 +62,7 @@
     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;