[MPlayer-cvslog] r32588 - trunk/stream/stream_dvd.c
reimar
subversion at mplayerhq.hu
Sat Nov 6 20:30:48 CET 2010
Author: reimar
Date: Sat Nov 6 20:30:48 2010
New Revision: 32588
Log:
Remove a pointless and stupid condition.
Modified:
trunk/stream/stream_dvd.c
Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c Sat Nov 6 17:38:00 2010 (r32587)
+++ trunk/stream/stream_dvd.c Sat Nov 6 20:30:48 2010 (r32588)
@@ -415,13 +415,11 @@ static void dvd_close(dvd_priv_t *d)
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;
}
More information about the MPlayer-cvslog
mailing list