summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_cdda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index f6740c1816..976b809299 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -202,7 +202,7 @@ static int seek(stream_t *s, int64_t newpos)
int seek_to_track = 0;
int i;
- newpos += priv->start_sector * CDIO_CD_FRAMESIZE_RAW;
+ newpos += p->start_sector * CDIO_CD_FRAMESIZE_RAW;
sec = newpos / CDIO_CD_FRAMESIZE_RAW;
if (newpos < 0 || sec > p->end_sector) {