[vlc-commits] subtitles: Cosmetics.
Hugo Beauzée-Luyssen
git at videolan.org
Tue Apr 10 17:14:23 CEST 2012
vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Apr 10 17:00:11 2012 +0200| [abbeb91f61db3092e2bb8000ad0a6715f312bf45] | committer: Hugo Beauzée-Luyssen
subtitles: Cosmetics.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=abbeb91f61db3092e2bb8000ad0a6715f312bf45
---
src/input/subtitles.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/input/subtitles.c b/src/input/subtitles.c
index e53d9c0..61378d5 100644
--- a/src/input/subtitles.c
+++ b/src/input/subtitles.c
@@ -326,16 +326,14 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
char tmp_fname_noext[strlen( psz_name ) + 1];
char tmp_fname_trim[strlen( psz_name ) + 1];
char tmp_fname_ext[strlen( psz_name ) + 1];
- char *tmp;
-
- int i_prio;
+ const char *tmp;
+ int i_prio = SUB_PRIORITY_NONE;
/* retrieve various parts of the filename */
strcpy_strip_ext( tmp_fname_noext, psz_name );
strcpy_get_ext( tmp_fname_ext, psz_name );
strcpy_trim( tmp_fname_trim, tmp_fname_noext );
- i_prio = SUB_PRIORITY_NONE;
if( !strcmp( tmp_fname_trim, f_fname_trim ) )
{
/* matches the movie name exactly */
More information about the vlc-commits
mailing list