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:
parent
e47e818356
commit
f5eb209ce9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user