Commit 2aef1c08 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
parent f0f9acb1
......@@ -412,13 +412,13 @@ int picture_Export( vlc_object_t *p_obj,
unsigned int i_original_height;
if( fmt_in.i_sar_num >= fmt_in.i_sar_den )
{
i_original_width = fmt_in.i_width * fmt_in.i_sar_num / fmt_in.i_sar_den;
i_original_width = (int64_t)fmt_in.i_width * fmt_in.i_sar_num / fmt_in.i_sar_den;
i_original_height = fmt_in.i_height;
}
else
{
i_original_width = fmt_in.i_width;
i_original_height = fmt_in.i_height * fmt_in.i_sar_den / fmt_in.i_sar_num;
i_original_height = (int64_t)fmt_in.i_height * fmt_in.i_sar_den / fmt_in.i_sar_num;
}
/* */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment