Commit be53b9ca authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Lets not ignore too many .sub files shall we? :)

parent f5a83db0
......@@ -407,7 +407,8 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
for( j = 0; j < i_sub_count; j++ )
{
if( result[j].psz_fname && result[i].psz_fname &&
!strncasecmp( result[i].psz_fname, result[j].psz_fname, sizeof( result[i].psz_fname) - 4 ) )
!strncasecmp( result[i].psz_fname, result[j].psz_fname, sizeof( result[i].psz_fname) - 4 ) &&
!strcasecmp( result[j].psz_ext, "idx" ) )
break;
}
......
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