[MPlayer-dev-eng] real demux problem/solution and a [PATCH]

Balatoni Denes pnis at coder.hu
Mon May 12 13:59:20 CEST 2003


Hi!

Just a note, regarding this part in demux_real seen at the bottom of this 
meal: 
pnm://rm.bbc.net.uk/news/olmedia/cta/events03/war_on_terror/powell26jan.rm

still won't play if num_of_headers is checked, and with the fix nothing can be 
broken as far as I can tell (unless the stream is badly broken). 
No big deal actually, it's only a problem of theoretical importance :]

On 2003. április 10. 22.52, Rudolf Marek wrote:
--- demux_real.cold     2003-03-10 01:10:05.000000000 +0100
+++ demux_real.c        2003-04-10 22:05:09.000000000 +0200
@@ -715,7 +715,7 @@
 //    stream_skip(demuxer->stream, 4); /* number of headers */
 
     /* parse chunks */
-    for (i = 0; i < num_of_headers; i++)
+    for (; ;)
     {
        int chunk_id, chunk_pos, chunk_size;
        
@@ -852,7 +852,7 @@

bye
Denes




More information about the MPlayer-dev-eng mailing list