Skip to content

Commit

Permalink
stream: remove no longer used stream_t.b_error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Sep 1, 2015
1 parent b79f1e2 commit fa4f2b1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion include/vlc_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ extern "C" {
struct stream_t
{
VLC_COMMON_MEMBERS
bool b_error;

/* Module properties for stream filter */
module_t *p_module;
Expand Down
1 change: 0 additions & 1 deletion src/input/stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/input/stream_demux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit fa4f2b1

Please sign in to comment.