diff options
Diffstat (limited to 'libhb/hb.c')
-rw-r--r-- | libhb/hb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index 058924848..31b45c2df 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -589,7 +589,7 @@ void hb_set_anamorphic_size( hb_job_t * job, if ( job->maxWidth && (job->maxWidth < job->width) ) width = job->maxWidth; - height = (double)width / storage_aspect; + height = ((double)width / storage_aspect) + 0.5; if ( job->maxHeight && (job->maxHeight < height) ) height = job->maxHeight; |