mirror of
https://github.com/mpv-player/mpv.git
synced 2026-06-06 20:10:30 +00: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user