Skip to content
Snippets Groups Projects
Commit 1e1c9e53 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

pva: handle I/O error

parent 19f59175
No related branches found
No related tags found
No related merge requests found
......@@ -274,7 +274,8 @@ static int Demux( demux_t *p_demux )
default:
msg_Warn( p_demux, "unknown id=0x%x", p_peek[2] );
vlc_stream_Read( p_demux->s, NULL, i_size + 8 );
if( vlc_stream_Read( p_demux->s, NULL, i_size + 8 ) < i_size + 8 )
return 0;
break;
}
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment