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

wav: check ES

parent 9aad3df8
......@@ -424,6 +424,8 @@ static int Open( vlc_object_t * p_this )
}
p_sys->p_es = es_out_Add( p_demux->out, &p_sys->fmt );
if( unlikely(p_sys->p_es == NULL) )
goto error;
date_Init( &p_sys->pts, p_sys->fmt.audio.i_rate, 1 );
date_Set( &p_sys->pts, 1 );
......
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