1
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:36:24 +01:00

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

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