summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-24 17:07:13 +0200
committerwm4 <wm4@nowhere>2014-05-24 17:07:13 +0200
commitf5eb209ce9b23e7a6289374fc5d289ec262db604 (patch)
tree2b925c0769a83eae3ebaaaf97dd66efecd6bd1ef
parente47e818356b33cb125e18cb119a48741ab944e91 (diff)
downloadmpv-f5eb209ce9b23e7a6289374fc5d289ec262db604.tar.bz2
mpv-f5eb209ce9b23e7a6289374fc5d289ec262db604.tar.xz
stream_cdda: fix compilation
See previous commit. Sigh...
-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) {