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:
parent
560ee84bb7
commit
1fe2e1963e
@ -39,7 +39,7 @@ int mp4_read_descr_len(stream_t *s) {
|
|||||||
int mp4_parse_esds(unsigned char *data, int datalen, esds_t *esds) {
|
int mp4_parse_esds(unsigned char *data, int datalen, esds_t *esds) {
|
||||||
/* create memory stream from data */
|
/* create memory stream from data */
|
||||||
stream_t *s = new_memory_stream(data, datalen);
|
stream_t *s = new_memory_stream(data, datalen);
|
||||||
uint8_t len;
|
uint16_t len;
|
||||||
#ifdef MP4_DUMPATOM
|
#ifdef MP4_DUMPATOM
|
||||||
{int i;
|
{int i;
|
||||||
printf("ESDS Dump (%dbyte):\n", datalen);
|
printf("ESDS Dump (%dbyte):\n", datalen);
|
||||||
|
@ -87,7 +87,7 @@ typedef struct {
|
|||||||
uint32_t avgBitrate;
|
uint32_t avgBitrate;
|
||||||
|
|
||||||
/* 0x05 DecSpecificDescrTag */
|
/* 0x05 DecSpecificDescrTag */
|
||||||
uint8_t decoderConfigLen;
|
uint16_t decoderConfigLen;
|
||||||
uint8_t *decoderConfig;
|
uint8_t *decoderConfig;
|
||||||
|
|
||||||
/* 0x06 SLConfigDescrTag */
|
/* 0x06 SLConfigDescrTag */
|
||||||
|
Loading…
Reference in New Issue
Block a user