[MPlayer-cvslog] r18667 - in trunk/libmpdemux: parse_mp4.c parse_mp4.h

nicodvb subversion at mplayerhq.hu
Fri Jun 9 23:29:19 CEST 2006


Author: nicodvb
Date: Fri Jun  9 23:29:18 2006
New Revision: 18667

Modified:
   trunk/libmpdemux/parse_mp4.c
   trunk/libmpdemux/parse_mp4.h

Log:
decoderConfigLen can be larger than 255 bytes

Modified: trunk/libmpdemux/parse_mp4.c
==============================================================================
--- trunk/libmpdemux/parse_mp4.c	(original)
+++ trunk/libmpdemux/parse_mp4.c	Fri Jun  9 23:29:18 2006
@@ -39,7 +39,7 @@
 int mp4_parse_esds(unsigned char *data, int datalen, esds_t *esds) {
   /* create memory stream from data */
   stream_t *s = new_memory_stream(data, datalen);
-  uint8_t len;
+  uint16_t len;
 #ifdef MP4_DUMPATOM
   {int i;
   printf("ESDS Dump (%dbyte):\n", datalen);  

Modified: trunk/libmpdemux/parse_mp4.h
==============================================================================
--- trunk/libmpdemux/parse_mp4.h	(original)
+++ trunk/libmpdemux/parse_mp4.h	Fri Jun  9 23:29:18 2006
@@ -87,7 +87,7 @@
   uint32_t avgBitrate;
 
   /* 0x05 DecSpecificDescrTag */
-  uint8_t  decoderConfigLen;
+  uint16_t  decoderConfigLen;
   uint8_t *decoderConfig;
 
   /* 0x06 SLConfigDescrTag */



More information about the MPlayer-cvslog mailing list