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

Alban Bedel CVS syncmail at mplayerhq.hu
Thu Mar 16 20:16:10 CET 2006


CVS change done by Alban Bedel CVS

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

Modified Files:
	subreader.c 
Log Message:
And 10L for me. Fix the forgoten enca_fd.


Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- subreader.c	16 Mar 2006 14:42:50 -0000	1.145
+++ subreader.c	16 Mar 2006 19:16:07 -0000	1.146
@@ -1086,7 +1086,7 @@
 		int free_cp_tmp = 0;
 		if (sscanf(sub_cp, "enca:%2s:%99s", enca_lang, enca_fallback) == 2
 		     || sscanf(sub_cp, "ENCA:%2s:%99s", enca_lang, enca_fallback) == 2) {
-		  if (enca_fd) {
+		  if (st) {
 		    cp_tmp = guess_cp(st, enca_lang, enca_fallback);
 		    free_cp_tmp = 1;
 		  } else {




More information about the MPlayer-cvslog mailing list