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 c5172792)
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,
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