Mercurial > mplayer.hg
comparison libmpdemux/demux_mov.c @ 25891:d17a6a6d346a
Do not pointlessly read data, just skip it.
author | reimar |
---|---|
date | Tue, 29 Jan 2008 22:13:20 +0000 |
parents | baf32110d3fc |
children | 68a400e63e67 |
comparison
equal
deleted
inserted
replaced
25890:374816d4d565 | 25891:d17a6a6d346a |
---|---|
1571 default: | 1571 default: |
1572 { | 1572 { |
1573 if( udta_len>udta_size) | 1573 if( udta_len>udta_size) |
1574 udta_len=udta_size; | 1574 udta_len=udta_size; |
1575 { | 1575 { |
1576 char dump[udta_len-4]; | 1576 stream_skip(demuxer->stream, udta_len-4-4); |
1577 stream_read(demuxer->stream, (char *)&dump, udta_len-4-4); | |
1578 udta_size -= udta_len; | 1577 udta_size -= udta_len; |
1579 } | 1578 } |
1580 } | 1579 } |
1581 } | 1580 } |
1582 } | 1581 } |