Commit c1708e15 authored by Laurent Aimar's avatar Laurent Aimar

Protect a bit against invalid pcr.

parent 24ee2714
...@@ -1398,6 +1398,9 @@ static inline int ControlPopNoLock( input_thread_t *p_input, ...@@ -1398,6 +1398,9 @@ static inline int ControlPopNoLock( input_thread_t *p_input,
while( p_input->p->i_control <= 0 ) while( p_input->p->i_control <= 0 )
{ {
if( !vlc_object_alive( p_input ) )
return VLC_EGENERIC;
if( i_deadline < 0 ) if( i_deadline < 0 )
return VLC_EGENERIC; 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