[MPlayer-cvslog] CVS: main subreader.c,1.146,1.147

Jindrich Makovicka CVS syncmail at mplayerhq.hu
Fri Mar 17 20:39:33 CET 2006


CVS change done by Jindrich Makovicka CVS

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

Modified Files:
	subreader.c 
Log Message:
10l forgotten stream_reset to clear the EOF flag

Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- subreader.c	16 Mar 2006 19:16:07 -0000	1.146
+++ subreader.c	17 Mar 2006 19:39:30 -0000	1.147
@@ -1339,6 +1339,7 @@
     
     free(languages);
     free(buffer);
+    stream_reset(st);
     stream_seek(st,0);
 
     if (!detected_sub_cp) {
@@ -1384,6 +1385,7 @@
     srp=sr+sub_format;
     mp_msg(MSGT_SUBREADER,MSGL_INFO,"SUB: Detected subtitle file format: %s\n", srp->name);
     
+    stream_reset(fd);
     stream_seek(fd,0);
 
 #ifdef USE_ICONV




More information about the MPlayer-cvslog mailing list