summaryrefslogtreecommitdiffstats
path: root/libhb/muxcommon.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/muxcommon.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/muxcommon.c')
-rw-r--r--libhb/muxcommon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libhb/muxcommon.c b/libhb/muxcommon.c
index da390c500..4c2c68009 100644
--- a/libhb/muxcommon.c
+++ b/libhb/muxcommon.c
@@ -355,8 +355,7 @@ finished:
{
/* Video */
hb_deep_log( 2, "mux: video bitrate error, %+lld bytes",
- track->bytes - mux->pts * job->vbitrate *
- 125 / 90000 );
+ (int64_t)(track->bytes - mux->pts * job->vbitrate * 125 / 90000) );
}
bytes_total += track->bytes;
frames_total += track->frames;