Commit aae71c2b authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

access: rar: fail gracefully when psz_url==NULL

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 64011dbe
......@@ -61,6 +61,9 @@ int RarStreamOpen(vlc_object_t *object)
{
stream_t *s = (stream_t*)object;
if( s->psz_url == NULL )
return VLC_EGENERIC;
if (RarProbe(s->p_source))
return VLC_EGENERIC;
......
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