mirror of https://github.com/mpv-player/mpv
Should not change stream->pos in fill_buffer function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25424 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8cabd00567
commit
973a0844aa
|
@ -304,7 +304,6 @@ static int fill_buffer(stream_t* s, char* buffer, int max_len) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
p->sector++;
|
p->sector++;
|
||||||
s->pos = p->sector*CD_FRAMESIZE_RAW;
|
|
||||||
memcpy(buffer,buf,CD_FRAMESIZE_RAW);
|
memcpy(buffer,buf,CD_FRAMESIZE_RAW);
|
||||||
|
|
||||||
for(i=0;i<p->cd->tracks;i++){
|
for(i=0;i<p->cd->tracks;i++){
|
||||||
|
|
Loading…
Reference in New Issue