[MPlayer-cvslog] r36229 - trunk/input/input.c

reimar subversion at mplayerhq.hu
Sat May 4 23:41:35 CEST 2013


Author: reimar
Date: Sat May  4 23:41:35 2013
New Revision: 36229

Log:
Remove unnecessary and incorrect assignment.

Thanks to Martynas Venckus [martynas venck us] for spotting
and reporting the bug.

Modified:
   trunk/input/input.c

Modified: trunk/input/input.c
==============================================================================
--- trunk/input/input.c	Sat May  4 22:01:40 2013	(r36228)
+++ trunk/input/input.c	Sat May  4 23:41:35 2013	(r36229)
@@ -1723,7 +1723,6 @@ mp_input_parse_config(char *file) {
       if(bs > (end-buffer))
 	memmove(buffer,end,bs-(end-buffer));
       bs -= (end-buffer);
-      buffer[bs-1] = '\0';
       continue;
     }
   }


More information about the MPlayer-cvslog mailing list