Mercurial > mplayer.hg
changeset 32501:8352a5ed347a
Remove a pointless and stupid condition.
author | reimar |
---|---|
date | Sat, 06 Nov 2010 19:30:48 +0000 |
parents | 2b6d7ed36156 |
children | 9705236ce079 |
files | stream/stream_dvd.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; }