summaryrefslogtreecommitdiffstats
path: root/stream.c
diff options
context:
space:
mode:
authorlgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-17 22:04:44 +0000
committerlgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-17 22:04:44 +0000
commit247b44e482927b578d26fd0b75b89ef8fc383ec2 (patch)
treecc979d90c402ddb2b2a90c0b9a2ef35a599767c7 /stream.c
parente35f1762a1d34472259cb3e9d62d4b426e1d1211 (diff)
downloadmpv-247b44e482927b578d26fd0b75b89ef8fc383ec2.tar.bz2
mpv-247b44e482927b578d26fd0b75b89ef8fc383ec2.tar.xz
preliminary DVD support using libcss
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@493 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream.c b/stream.c
index b07af0d3db..fd3ec353fc 100644
--- a/stream.c
+++ b/stream.c
@@ -3,7 +3,7 @@
//=================== STREAMER =========================
-#define STREAM_BUFFER_SIZE 4096
+#define STREAM_BUFFER_SIZE 2048
#define STREAMTYPE_FILE 0
#define STREAMTYPE_VCD 1
@@ -126,7 +126,7 @@ if(verbose>=3){
switch(s->type){
case STREAMTYPE_FILE:
- newpos=pos&(~4095);break;
+ newpos=pos&(~(STREAM_BUFFER_SIZE-1));break;
case STREAMTYPE_VCD:
newpos=(pos/VCD_SECTOR_DATA)*VCD_SECTOR_DATA;break;
}