1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-31 12:11:52 +00:00

Fix for borked .mov files with bogus user data length values. Patch by Marek Zelem.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10889 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mosu 2003-09-20 10:10:11 +00:00
parent feda725791
commit 6df04eae85

View File

@ -1455,9 +1455,13 @@ static void lschunks(demuxer_t* demuxer,int level,off_t endpos,mov_track_t* trak
case MOV_FOURCC('A','l','l','F'):
default:
{
if( udta_len>udta_size)
udta_len=udta_size;
{
char dump[udta_len-4];
stream_read(demuxer->stream, (char *)&dump, udta_len-4-4);
udta_size -= udta_len;
}
}
}
}