Mercurial > mplayer.hg
diff stream.h @ 583:da08ded03883
silly bug fixed - badly allocated stream buffer
author | arpi_esp |
---|---|
date | Mon, 23 Apr 2001 03:32:10 +0000 |
parents | c2377cd0069f |
children | c7117e17e20b |
line wrap: on
line diff
--- a/stream.h Mon Apr 23 00:49:42 2001 +0000 +++ b/stream.h Mon Apr 23 03:32:10 2001 +0000 @@ -21,7 +21,7 @@ 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);