Commit 6bc47898 authored by Laurent Aimar's avatar Laurent Aimar

* standard: fixed a segfault.

parent ff0e6063
...@@ -223,10 +223,15 @@ static int Open( vlc_object_t *p_this ) ...@@ -223,10 +223,15 @@ static int Open( vlc_object_t *p_this )
{ {
psz_mux = strdup("ts"); psz_mux = strdup("ts");
} }
else else if( psz_mux_byext )
{ {
psz_mux = strdup(psz_mux_byext); psz_mux = strdup(psz_mux_byext);
} }
else
{
msg_Err( p_stream, "no mux specified or found by extention" );
return VLC_EGENERIC;
}
} }
else if( psz_mux && !psz_access ) else if( psz_mux && !psz_access )
{ {
......
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