summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2007-07-25 22:20:41 +0000
committerjbrjake <[email protected]>2007-07-25 22:20:41 +0000
commit2c12dc427e857334b3d744ddf8829590f6ee3906 (patch)
tree529c02d37fd1e00319fb378a00cf82780bc46228 /libhb/common.c
parent2d9fb029986e17218272e01ae1c629237e5c204d (diff)
This patch from eddyg should help alleviate HandBrake's audio drop issues. It also adds a number of beautiful comments to sync.c that really help clarify the code. Thanks, eddy!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@738 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 8f061e1f9..d0b015505 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -493,7 +493,7 @@ void hb_list_close( hb_list_t ** _l )
*********************************************************************/
void hb_log( char * log, ... )
{
- char string[82]; /* 80 chars + \n + \0 */
+ char string[182]; /* 180 chars + \n + \0 */
time_t _now;
struct tm * now;
va_list args;
@@ -512,7 +512,7 @@ void hb_log( char * log, ... )
/* Convert the message to a string */
va_start( args, log );
- vsnprintf( string + 11, 69, log, args );
+ vsnprintf( string + 11, 169, log, args );
va_end( args );
/* Add the end of line */