changeset 25891:d17a6a6d346a

Do not pointlessly read data, just skip it.
author reimar
date Tue, 29 Jan 2008 22:13:20 +0000
parents 374816d4d565
children 68a400e63e67
files libmpdemux/demux_mov.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Tue Jan 29 22:04:46 2008 +0000
+++ b/libmpdemux/demux_mov.c	Tue Jan 29 22:13:20 2008 +0000
@@ -1573,8 +1573,7 @@
 			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;
 			}
 		    }