Commit 841e8ab2 authored by Laurent Aimar's avatar Laurent Aimar

* input.c: fix invalid free.

parent ff90bd9c
......@@ -1945,7 +1945,6 @@ static int InputSourceInit( input_thread_t *p_input,
if( psz_forced_demux && *psz_forced_demux )
{
if( psz_demux ) free( psz_demux );
psz_demux = psz_forced_demux;
}
else if( !psz_demux || *psz_demux == '\0' )
......
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