Increase the size of the buffer used for formatting messages from libass as they can occasionally be longer than 256 characters

Originally committed to SVN as r4796.
This commit is contained in:
Thomas Goyne 2010-10-08 06:06:50 +00:00
parent 82ca2a4b70
commit 1fbe7b4f1e

View file

@ -64,7 +64,7 @@
/// @brief Handle libass messages /// @brief Handle libass messages
/// ///
static void msg_callback(int level, const char *fmt, va_list args, void *data) { static void msg_callback(int level, const char *fmt, va_list args, void *data) {
char buf[256]; char buf[1024];
#ifdef _WIN32 #ifdef _WIN32
vsprintf_s(buf, sizeof(buf), fmt, args); vsprintf_s(buf, sizeof(buf), fmt, args);
#else #else