Commit 3c4a11c4 authored by hartman's avatar hartman
Browse files

input: assert in InputSourceInit() if there is no MRL to play

parent 94df46b9
......@@ -2338,6 +2338,7 @@ static int InputSourceInit( input_thread_t *p_input,
char *psz_var_demux = NULL;
double f_fps;
assert( psz_mrl );
char *psz_dup = strdup( psz_mrl );
if( psz_dup == NULL )
......
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