Mercurial > mplayer.hg
changeset 10508:e2a88f1d47f6
BBC .rm fix, based on patch by Balatoni Denes <pnis@coder.hu>
author | arpi |
---|---|
date | Sat, 02 Aug 2003 18:45:24 +0000 |
parents | 114032ab64b6 |
children | d9d24093db2e |
files | libmpdemux/demux_real.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_real.c Thu Jul 31 10:10:16 2003 +0000 +++ b/libmpdemux/demux_real.c Sat Aug 02 18:45:24 2003 +0000 @@ -717,7 +717,8 @@ // stream_skip(demuxer->stream, 4); /* number of headers */ /* parse chunks */ - for (i = 1; i < num_of_headers; i++) + for (i = 1; i <= num_of_headers; i++) +// for (i = 1; ; i++) { int chunk_id, chunk_pos, chunk_size; @@ -1161,6 +1162,7 @@ } header_end: +// printf("i=%d num_of_headers=%d \n",i,num_of_headers); priv->num_of_packets = stream_read_dword(demuxer->stream); // stream_skip(demuxer->stream, 4); /* number of packets */ stream_skip(demuxer->stream, 4); /* next data header */