[MPlayer-cvslog] r25920 - trunk/libmpdemux/demux_mov.c

reimar subversion at mplayerhq.hu
Tue Jan 29 23:13:20 CET 2008


Author: reimar
Date: Tue Jan 29 23:13:20 2008
New Revision: 25920

Log:
Do not pointlessly read data, just skip it.


Modified:
   trunk/libmpdemux/demux_mov.c

Modified: trunk/libmpdemux/demux_mov.c
==============================================================================
--- trunk/libmpdemux/demux_mov.c	(original)
+++ trunk/libmpdemux/demux_mov.c	Tue Jan 29 23:13:20 2008
@@ -1573,8 +1573,7 @@ static void lschunks(demuxer_t* demuxer,
 			if( udta_len>udta_size)
 				udta_len=udta_size;
 			{
-			char dump[udta_len-4];
-			stream_read(demuxer->stream, (char *)&dump, udta_len-4-4);
+			stream_skip(demuxer->stream, udta_len-4-4);
 			udta_size -= udta_len;
 			}
 		    }



More information about the MPlayer-cvslog mailing list