silly bug fixed - badly allocated stream buffer

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@584 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-04-23 03:32:10 +00:00
parent c1bcbcb95c
commit b5c8cd95dd
1 changed files with 1 additions and 1 deletions

View File

@ -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);