[MPlayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.112,1.113

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sun Jan 23 22:39:53 CET 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv27698

Modified Files:
	demux_mov.c 
Log Message:
Reset stream eof after parsing header, fixes bug #218


Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -r1.112 -r1.113
--- demux_mov.c	29 Dec 2004 23:26:01 -0000	1.112
+++ demux_mov.c	23 Jan 2005 21:39:51 -0000	1.113
@@ -1607,6 +1607,8 @@
 	return 0;
     }
     lschunks(demuxer, 0, priv->moov_end, NULL);
+    // just in case we have hit eof while parsing...
+    demuxer->stream->eof = 0;
 //    mp_msg(MSGT_DEMUX, MSGL_INFO, "--------------\n");
 
     // find the best (longest) streams:
@@ -1710,6 +1712,7 @@
 	    }
 	}
     }
+    demuxer->stream->eof = 0;
 #endif
 
     return 1;




More information about the MPlayer-cvslog mailing list