summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-23 03:32:10 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-23 03:32:10 +0000
commitb5c8cd95dd36a4e7d7cfa2fc266e44f3c0b09dc4 (patch)
tree921985a52962dd6e77bfb8f36b7641620799f965 /stream.h
parentc1bcbcb95caa01334d450d8d005830eb14ef6b0e (diff)
downloadmpv-b5c8cd95dd36a4e7d7cfa2fc266e44f3c0b09dc4.tar.bz2
mpv-b5c8cd95dd36a4e7d7cfa2fc266e44f3c0b09dc4.tar.xz
silly bug fixed - badly allocated stream buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@584 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.h b/stream.h
index 4babec6df0..110b3176ad 100644
--- a/stream.h
+++ b/stream.h
@@ -21,7 +21,7 @@ typedef struct {
int eof;
int type; // 0=file 1=VCD
unsigned int buf_pos,buf_len;
- unsigned char buffer[STREAM_BUFFER_SIZE];
+ unsigned char buffer[STREAM_BUFFER_SIZE>VCD_SECTOR_SIZE?STREAM_BUFFER_SIZE:VCD_SECTOR_SIZE];
} stream_t;
int stream_fill_buffer(stream_t *s);