# HG changeset patch # User reimar # Date 1289071848 0 # Node ID 8352a5ed347ac42c61bf89ed284ec67de13b2afe # Parent 2b6d7ed36156d997088a33ba21f36533ad2f1df4 Remove a pointless and stupid condition. diff -r 2b6d7ed36156 -r 8352a5ed347a stream/stream_dvd.c --- a/stream/stream_dvd.c Sat Nov 06 16:38:00 2010 +0000 +++ b/stream/stream_dvd.c Sat Nov 06 19:30:48 2010 +0000 @@ -415,13 +415,11 @@ static int fill_buffer(stream_t *s, char *but, int len) { - if(s->type == STREAMTYPE_DVD) { off_t pos=dvd_read_sector(s->priv,s->buffer); if(pos>=0) { len=2048; // full sector s->pos=2048*pos-len; } else len=-1; // error - } return len; }