]> granicus.if.org Git - handbrake/commitdiff
Fix hb_log to truncate the message at the correct point, fixes 1244.
authoreddyg <eddyg.hb@myreflection.org>
Mon, 18 Feb 2008 01:58:19 +0000 (01:58 +0000)
committereddyg <eddyg.hb@myreflection.org>
Mon, 18 Feb 2008 01:58:19 +0000 (01:58 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1282 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/common.c

index 71c171bf1815c9bf6138d93569a587389dbe5cdd..41a9fe6e237eb1f279f23d7c2e34c5e864d154c6 100644 (file)
@@ -527,7 +527,7 @@ void hb_log( char * log, ... )
 
     /* Convert the message to a string */
     va_start( args, log );
-    vsnprintf( string + 11, 169, log, args );
+    vsnprintf( string + 11, 349, log, args );
     va_end( args );
 
     /* Add the end of line */