summaryrefslogtreecommitdiffstats
path: root/libhb/hb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/hb.c')
-rw-r--r--libhb/hb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index f7e3c9dae..c65cc5872 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -803,7 +803,9 @@ void hb_set_anamorphic_size( hb_job_t * job,
which could easily be stored in a different resolution. */
int output_display_width = width * (double)pixel_aspect_width /
- (double)pixel_aspect_height ;
+ (double)pixel_aspect_height;
+ pixel_aspect_width = output_display_width;
+ pixel_aspect_height = width;
}
/* Back to caller */