Commit a742ca13 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix other subtitle pathes autodetection

(cherry picked from commit 9f0c79759d108db628c0095fc0a42ade0e6d076a)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7ddc194c
...@@ -280,7 +280,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path, ...@@ -280,7 +280,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
free( psz_fname ); free( psz_fname );
return NULL; return NULL;
} }
*(f_fname++) = 0; /* skip dir separator */ *(++f_fname) = 0; /* keep dir separator in f_dir */
i_fname_len = strlen( f_fname ); i_fname_len = strlen( f_fname );
......
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