From f5eb209ce9b23e7a6289374fc5d289ec262db604 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 24 May 2014 17:07:13 +0200 Subject: stream_cdda: fix compilation See previous commit. Sigh... --- stream/stream_cdda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3