1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 02:52:10 +00:00

decoderConfigLen can be larger than 255 bytes

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18667 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-06-09 21:29:18 +00:00
parent 560ee84bb7
commit 1fe2e1963e
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -87,7 +87,7 @@ typedef struct {
uint32_t avgBitrate;
/* 0x05 DecSpecificDescrTag */
uint8_t decoderConfigLen;
uint16_t decoderConfigLen;
uint8_t *decoderConfig;
/* 0x06 SLConfigDescrTag */