X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=libhb%2Fhb.c;h=31b45c2df35d9ae41514a5e81a3221666e1c9b1e;hb=8425b4e14041ee668806cff29e458ae73bcd894f;hp=0589248481e3c128dac3a105d9a36864b7b7bd24;hpb=0f25cfb3cfac4feff657bb79bcc0b689baa99860;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/libhb/hb.c b/libhb/hb.c index 05892484..31b45c2d 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;