[Mplayer-cvslog] CVS: main subreader.c,1.115,1.116
Jindrich Makovicka CVS
henry at mplayerhq.hu
Sat Aug 9 01:27:14 CEST 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv1050
Modified Files:
subreader.c
Log Message:
some more cola - misplaced break
Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- subreader.c 28 Jul 2003 14:17:31 -0000 1.115
+++ subreader.c 8 Aug 2003 23:26:48 -0000 1.116
@@ -1694,15 +1694,10 @@
// we have a (likely) subtitle file
if (found) {
int prio = 0;
- if (tmp_sub_id && (sub_match_fuzziness >= 1))
+ if (tmp_sub_id && (sub_match_fuzziness >= 1) && (strcmp(tmp_fname_trim, tmpresult) == 0))
{
- sprintf(tmpresult, "%s %s", f_fname_trim, tmp_sub_id);
- printf("dvdsublang...%s\n", tmpresult);
- if (strcmp(tmp_fname_trim, tmpresult) == 0) {
- // matches the movie name + lang extension
- prio = 5;
- break;
- }
+ // matches the movie name + lang extension
+ prio = 5;
} else if (strcmp(tmp_fname_trim, f_fname_trim) == 0) {
// matches the movie name
prio = 4;
More information about the MPlayer-cvslog
mailing list