# HG changeset patch # User reimar # Date 1201644800 0 # Node ID d17a6a6d346aea575e875ba3c15418999a94b0e7 # Parent 374816d4d565dffb02a577ca4ab5c8a485a4be94 Do not pointlessly read data, just skip it. diff -r 374816d4d565 -r d17a6a6d346a libmpdemux/demux_mov.c --- 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; } }