Commit 0823b01a authored by Yoann Peronneau's avatar Yoann Peronneau

* input/subtitles.c: first subtitle search path was not used.

parent 116d2616
...@@ -369,7 +369,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path, ...@@ -369,7 +369,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
} }
closedir( d ); closedir( d );
} }
free( *subdirs++ ); if( j >= 0 ) free( *subdirs++ );
} }
if( tmp_subdirs ) free( tmp_subdirs ); if( tmp_subdirs ) free( tmp_subdirs );
......
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