[Mplayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.100,1.101
Moritz Bunkus CVS
mosu at mplayerhq.hu
Sat Sep 20 12:11:02 CEST 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv31645
Modified Files:
demux_mov.c
Log Message:
Fix for borked .mov files with bogus user data length values. Patch by Marek Zelem.
Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- demux_mov.c 11 Sep 2003 09:05:54 -0000 1.100
+++ demux_mov.c 20 Sep 2003 10:10:11 -0000 1.101
@@ -1455,9 +1455,13 @@
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;
+ }
}
}
}
More information about the MPlayer-cvslog
mailing list