Commit 666dc088 authored by Yoann Peronneau's avatar Yoann Peronneau

* input/subtitles.c: fix another bug in subtitle autodetection

parent de1aedd6
...@@ -104,7 +104,7 @@ static void strcpy_strip_ext( char *d, char *s ) ...@@ -104,7 +104,7 @@ static void strcpy_strip_ext( char *d, char *s )
return; return;
} }
else else
strlcpy(d, s, tmp - s); strlcpy(d, s, tmp - s + 1 );
while( *d ) while( *d )
{ {
*d = tolower(*d); *d = tolower(*d);
......
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