mirror of
https://github.com/mpv-player/mpv
synced 2025-02-26 02:05:31 +00:00
some more cola - misplaced break
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10545 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e157d8f073
commit
6c24426032
11
subreader.c
11
subreader.c
@ -1694,15 +1694,10 @@ char** sub_filenames(char* path, char *fname)
|
||||
// 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;
|
||||
|
Loading…
Reference in New Issue
Block a user