summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-25 03:36:26 +0000
committerkonablend <[email protected]>2009-06-25 03:36:26 +0000
commiteef252057e08aeffc4a8b43d6eba838012debc28 (patch)
tree711122c860cc6fa878a0681046da0e0f20ed7ed4 /libhb/common.c
parent1f5936650ac23cec965a8934b36a21b4f4bcfa16 (diff)
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
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 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;
}