Commit 84cb4eb9 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

subtitles: Remove unneeded clause

(cherry picked from commit c517279280c28114ef0ceb1bf5e8a99cf6ce436f)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0b5bfb38
...@@ -359,8 +359,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path, ...@@ -359,8 +359,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
i_prio = SUB_PRIORITY_MATCH_LEFT; i_prio = SUB_PRIORITY_MATCH_LEFT;
} }
} }
else if( i_prio == SUB_PRIORITY_NONE && else if( j == -1 )
j == -1 )
{ {
/* doesn't contain the movie name, prefer files in f_dir over subdirs */ /* doesn't contain the movie name, prefer files in f_dir over subdirs */
i_prio = SUB_PRIORITY_MATCH_NONE; i_prio = SUB_PRIORITY_MATCH_NONE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment