summaryrefslogtreecommitdiffstats
path: root/stream/stream_cdda.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_cdda.c')
-rw-r--r--stream/stream_cdda.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index 1bec7dcc37..c19c71d64f 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -200,7 +200,6 @@ static int fill_buffer(stream_t *s, char *buffer, int max_len)
return -1;
if ((p->sector < p->start_sector) || (p->sector > p->end_sector)) {
- s->eof = 1;
return 0;
}
@@ -237,7 +236,6 @@ static int seek(stream_t *s, int64_t newpos)
s->pos = newpos;
sec = s->pos / CDIO_CD_FRAMESIZE_RAW;
if (s->pos < 0 || sec > p->end_sector) {
- s->eof = 1;
p->sector = p->end_sector + 1;
return 0;
}