Commit 30876dd3 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* skip potential subtitle filenames that start with a dot.

parent 17948de9
......@@ -345,7 +345,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
int i_prio;
if( psz_name == NULL )
if( psz_name == NULL || psz_name[0] == '.' )
continue;
/* retrieve various parts of the filename */
......
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