1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-31 12:11:52 +00:00

stream_cdda: fix compilation

See previous commit. Sigh...
This commit is contained in:
wm4 2014-05-24 17:07:13 +02:00
parent e47e818356
commit f5eb209ce9

View File

@ -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) {