summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-16 16:39:10 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-16 16:39:10 +0000
commit973a0844aa1c47eecd1eec7af9aa7b8fac6a9bef (patch)
treed2fd1670cb070a7a7946f2e3db720bc86d543032 /stream
parent8cabd00567ae63ace88cac76fbd9ce314bc95c3f (diff)
downloadmpv-973a0844aa1c47eecd1eec7af9aa7b8fac6a9bef.tar.bz2
mpv-973a0844aa1c47eecd1eec7af9aa7b8fac6a9bef.tar.xz
Should not change stream->pos in fill_buffer function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25424 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_cdda.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index 04076ca6fa..404bd7286e 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -304,7 +304,6 @@ static int fill_buffer(stream_t* s, char* buffer, int max_len) {
#endif
p->sector++;
- s->pos = p->sector*CD_FRAMESIZE_RAW;
memcpy(buffer,buf,CD_FRAMESIZE_RAW);
for(i=0;i<p->cd->tracks;i++){