[vlc-devel] commit: * skip potential subtitle filenames that start with a dot. ( Derk-Jan Hartman )
git version control
git at videolan.org
Tue Feb 17 21:06:57 CET 2009
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Tue Feb 17 21:05:53 2009 +0100| [30876dd3bcd475add619adc73e0c8d23718d1e96] | committer: Derk-Jan Hartman
* skip potential subtitle filenames that start with a dot.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=30876dd3bcd475add619adc73e0c8d23718d1e96
---
src/input/subtitles.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/subtitles.c b/src/input/subtitles.c
index 5e46df6..a5364cc 100644
--- a/src/input/subtitles.c
+++ b/src/input/subtitles.c
@@ -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 */
More information about the vlc-devel
mailing list