diff options
author | lgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-17 22:04:44 +0000 |
---|---|---|
committer | lgb <lgb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-17 22:04:44 +0000 |
commit | 247b44e482927b578d26fd0b75b89ef8fc383ec2 (patch) | |
tree | cc979d90c402ddb2b2a90c0b9a2ef35a599767c7 /stream.c | |
parent | e35f1762a1d34472259cb3e9d62d4b426e1d1211 (diff) | |
download | mpv-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |