From b5c8cd95dd36a4e7d7cfa2fc266e44f3c0b09dc4 Mon Sep 17 00:00:00 2001 From: arpi_esp Date: Mon, 23 Apr 2001 03:32:10 +0000 Subject: [PATCH] silly bug fixed - badly allocated stream buffer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@584 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.h b/stream.h index 4babec6df0..110b3176ad 100644 --- a/stream.h +++ b/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);