set large default size for bug 131976 workaround

This commit is contained in:
Josh Coalson
2001-02-12 09:03:07 +00:00
parent c5f2f3f952
commit 5feaafff5c

View File

@@ -22,7 +22,15 @@
#include <string.h> /* for memcpy(), memset() */
#include "private/bitbuffer.h"
static const unsigned FLAC__BITBUFFER_DEFAULT_CAPACITY = 65536; /* bytes */
/* WATCHOUT: this size here is a workaround due to a bug in the
* verify_read_callback in flac/encode.c, c.f.
*
* http://sourceforge.net/bugs/?func=detailbug&bug_id=131976&group_id=13478
*
* When that bug is fixed the number here can be set back to a
* reasonable level.
*/
static const unsigned FLAC__BITBUFFER_DEFAULT_CAPACITY = 300000; /* bytes */
#ifdef min
#undef min