Commit c5172792 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

subtitles: Remove unneeded clause

parent 2ae88e92
......@@ -357,8 +357,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
i_prio = SUB_PRIORITY_MATCH_LEFT;
}
}
else if( i_prio == SUB_PRIORITY_NONE &&
j == -1 )
else if( j == -1 )
{
/* doesn't contain the movie name, prefer files in f_dir over subdirs */
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