Commit 2f37c6b5 authored by Laurent Aimar's avatar Laurent Aimar

Removed useless test (demux_New).

parent ca1bdb86
......@@ -78,7 +78,7 @@ demux_t *__demux_New( vlc_object_t *p_obj, input_thread_t *p_parent_input,
p_demux->psz_file = get_path( psz_location );
/* Take into account "demux" to be able to do :demux=dump */
if( p_demux->psz_demux && *p_demux->psz_demux == '\0' )
if( *p_demux->psz_demux == '\0' )
{
free( p_demux->psz_demux );
p_demux->psz_demux = var_GetNonEmptyString( p_obj, "demux" );
......
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