mirror of https://github.com/mpv-player/mpv
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:
parent
c1bcbcb95c
commit
b5c8cd95dd
2
stream.h
2
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);
|
||||
|
|
Loading…
Reference in New Issue