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

stream: remove no longer used stream_t.b_error

parent b79f1e23
......@@ -46,7 +46,6 @@ extern "C" {
struct stream_t
{
VLC_COMMON_MEMBERS
bool b_error;
/* Module properties for stream filter */
module_t *p_module;
......
......@@ -66,7 +66,6 @@ stream_t *stream_CommonNew(vlc_object_t *parent)
stream_t *s = &priv->stream;
s->b_error = false;
s->p_module = NULL;
s->psz_url = NULL;
s->p_source = NULL;
......
......@@ -174,8 +174,6 @@ static ssize_t DStreamRead( stream_t *s, void *buf, size_t len )
if( !atomic_load( &sys->active ) )
return -1;
if( s->b_error )
return -1;
if( len == 0 )
return 0;
......
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