mirror of
https://github.com/mpv-player/mpv
synced 2025-03-22 11:18:32 +00:00
eeh 10l, removed one line too much :(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5334 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
426a60c1f1
commit
fbba1ecea0
@ -126,7 +126,7 @@ int mp4_parse_esds(unsigned char *data, int datalen, esds_t *esds) {
|
||||
}
|
||||
|
||||
/* 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);
|
||||
|
Loading…
Reference in New Issue
Block a user