[MPlayer-cvslog] r18875 - trunk/subreader.c

reynaldo subversion at mplayerhq.hu
Sat Jul 1 06:55:55 CEST 2006


Author: reynaldo
Date: Sat Jul  1 06:55:54 2006
New Revision: 18875

Modified:
   trunk/subreader.c

Log:
this unrelated and erroneus change was applied on my previous commit, reverted

Modified: trunk/subreader.c
==============================================================================
--- trunk/subreader.c	(original)
+++ trunk/subreader.c	Sat Jul  1 06:55:54 2006
@@ -25,7 +25,6 @@
 #endif
 
 #define ERR ((void *) -1)
-#define eol(x) ((x)=='\r' || (x)=='\n' || (x)=='\0')
 
 #ifdef USE_ICONV
 #include <iconv.h>
@@ -68,6 +67,10 @@
 unsigned long previous_sub_end;
 #endif
 
+static int eol(char p) {
+	return (p=='\r' || p=='\n' || p=='\0');
+}
+
 /* Remove leading and trailing space */
 static void trail_space(char *s) {
 	int i = 0;



More information about the MPlayer-cvslog mailing list