aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-09 21:29:18 +0000
committerGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-09 21:29:18 +0000
commit1fe2e1963e3cc067dfb147a54c316f3603ccf445 (patch)
tree815b55bab62a0d2bb5015ec4041378f1a168e9b1 /libmpdemux
parent560ee84bb7659825f5ee642618f15c5b580f5620 (diff)
decoderConfigLen can be larger than 255 bytes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18667 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/parse_mp4.c2
-rw-r--r--libmpdemux/parse_mp4.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/parse_mp4.c b/libmpdemux/parse_mp4.c
index cccf2ee2c5..a4b4cabf56 100644
--- a/libmpdemux/parse_mp4.c
+++ b/libmpdemux/parse_mp4.c
@@ -39,7 +39,7 @@ int mp4_read_descr_len(stream_t *s) {
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);
diff --git a/libmpdemux/parse_mp4.h b/libmpdemux/parse_mp4.h
index aa49584409..3cf6dbcf79 100644
--- a/libmpdemux/parse_mp4.h
+++ b/libmpdemux/parse_mp4.h
@@ -87,7 +87,7 @@ typedef struct {
uint32_t avgBitrate;
/* 0x05 DecSpecificDescrTag */
- uint8_t decoderConfigLen;
+ uint16_t decoderConfigLen;
uint8_t *decoderConfig;
/* 0x06 SLConfigDescrTag */