changeset 5333:c4f6ab72300a

eeh 10l, removed one line too much :(
author atmos4
date Mon, 25 Mar 2002 11:35:21 +0000
parents a3874da21700
children 2cb0e0e83e95
files libmpdemux/parse_mp4.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/parse_mp4.c	Mon Mar 25 11:13:14 2002 +0000
+++ b/libmpdemux/parse_mp4.c	Mon Mar 25 11:35:21 2002 +0000
@@ -126,7 +126,7 @@
   }
 
   /* Note: SLConfig is usually constant value 2, size 1Byte */
-  esds->SLConfigLen = len;
+  esds->SLConfigLen = len = mp4_read_descr_len(s);
   esds->SLConfig = malloc(esds->SLConfigLen);
   if (esds->SLConfig) {
     stream_read(s, esds->SLConfig, esds->SLConfigLen);