Commit 0aaf4d6d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

ogg: fix potential NULL dereference

parent ad4a50d3
......@@ -249,7 +249,7 @@ static int Open( vlc_object_t * p_this )
while ( !p_sys->b_preparsing_done && p_demux->pf_demux( p_demux ) > 0 )
{}
if ( p_sys->b_preparsing_done && p_demux->p_input->b_preparsing )
if ( p_sys->b_preparsing_done && p_demux->b_preparsing )
Ogg_CreateES( p_demux );
return VLC_SUCCESS;
......
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