[Mplayer-cvslog] CVS: main/libmpdemux demux_real.c,1.46,1.47

Arpi of Ize arpi at mplayerhq.hu
Sat Aug 2 20:45:50 CEST 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv18385

Modified Files:
	demux_real.c 
Log Message:
BBC .rm fix, based on patch by Balatoni Denes <pnis at coder.hu>


Index: demux_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_real.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- demux_real.c	3 Jul 2003 20:16:09 -0000	1.46
+++ demux_real.c	2 Aug 2003 18:45:24 -0000	1.47
@@ -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 */



More information about the MPlayer-cvslog mailing list