[Mplayer-cvslog] CVS: main playtreeparser.c,1.23,1.24

Alban Bedel CVS albeu at mplayerhq.hu
Mon Aug 25 17:30:59 CEST 2003


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

Modified Files:
	playtreeparser.c 
Log Message:
Fix the bug found by Martin Wulffeld


Index: playtreeparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/playtreeparser.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- playtreeparser.c	27 Jul 2003 22:41:53 -0000	1.23
+++ playtreeparser.c	25 Aug 2003 15:29:55 -0000	1.24
@@ -107,6 +107,7 @@
     if(end[0] != '\0') {
       p->buffer_end -= end-p->iter;
       memmove(p->buffer,end,p->buffer_end);
+      p->buffer[p->buffer_end] = '\0';
     } else
       p->buffer_end = 0;
     p->iter = p->buffer;



More information about the MPlayer-cvslog mailing list