[Mplayer-cvslog] CVS: main subreader.c,1.85,1.86

Arpi of Ize arpi at mplayerhq.hu
Fri Jan 3 13:30:50 CET 2003


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

Modified Files:
	subreader.c 
Log Message:
10l
patch by Oskar Liljeblad <oskar at osk.mine.nu>


Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- subreader.c	29 Dec 2002 21:04:45 -0000	1.85
+++ subreader.c	3 Jan 2003 12:30:47 -0000	1.86
@@ -1253,8 +1253,8 @@
     }
     adjust_subs_time(second, 6.0, fps, 1);	/* ~6 secs AST */
 
-    for (j = sub_orig - 1; j <= 0; --j) {
-	for (i = first[j].lines - 1; i <= 0; --i) {
+    for (j = sub_orig - 1; j >= 0; --j) {
+	for (i = first[j].lines - 1; i >= 0; --i) {
 	    free(first[j].text[i]);
 	}
 	free(&first[j]);



More information about the MPlayer-cvslog mailing list