From eef252057e08aeffc4a8b43d6eba838012debc28 Mon Sep 17 00:00:00 2001 From: konablend Date: Thu, 25 Jun 2009 03:36:26 +0000 Subject: Format cleanup. - fixed ports.c to use a more portable method of getting integral pthread_t representation; resolves mingw crash. - added GCC attribute to generate compiler warnings for invalid usage of hb_log, hb_deep_log and hb_errror; see new macro HB_WPRINTF(s,v) in common.h. - fixed various invalid usage of above functions on osx i386/x86_64, and mingw. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2618 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libhb/common.c') diff --git a/libhb/common.c b/libhb/common.c index 824996352..1da836ece 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -124,8 +124,8 @@ void hb_fix_aspect( hb_job_t * job, int keep ) if ( title->height == 0 || title->width == 0 || title->aspect == 0 ) { hb_log( "hb_fix_aspect: incomplete info for title %d: " - "height = %d, width = %d, aspect = %d", - title->height, title->width, title->aspect ); + "height = %d, width = %d, aspect = %.3f", + title->index, title->height, title->width, title->aspect ); return; } -- cgit v1.2.3