# HG changeset patch # User arpi_esp # Date 987996730 0 # Node ID da08ded038831f5adead715653c89d655a1dfc08 # Parent b3ef2d25b97e33582b8619a38dcd5411ca22fc26 silly bug fixed - badly allocated stream buffer diff -r b3ef2d25b97e -r da08ded03883 stream.h --- 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);