Commit c6a7622b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Forgot these files

parent 4ee9175b
......@@ -904,7 +904,7 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
p_dec->fmt_out.video.i_width;
}
vlc_reduce( &p_dec->fmt_out.video.i_sar_num,
vlc_ureduce( &p_dec->fmt_out.video.i_sar_num,
&p_dec->fmt_out.video.i_sar_den,
p_dec->fmt_out.video.i_sar_num,
p_dec->fmt_out.video.i_sar_den, 0 );
......
......@@ -679,7 +679,7 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt )
case VIDEO_ES:
es->i_channel = p_sys->i_video;
if( fmt->video.i_frame_rate && fmt->video.i_frame_rate_base )
vlc_reduce( &es->fmt.video.i_frame_rate,
vlc_ureduce( &es->fmt.video.i_frame_rate,
&es->fmt.video.i_frame_rate_base,
fmt->video.i_frame_rate,
fmt->video.i_frame_rate_base, 0 );
......
......@@ -611,7 +611,7 @@ static int InitThread( vout_thread_t *p_vout )
p_vout->fmt_out.i_width;
}
vlc_reduce( &p_vout->fmt_out.i_sar_num, &p_vout->fmt_out.i_sar_den,
vlc_ureduce( &p_vout->fmt_out.i_sar_num, &p_vout->fmt_out.i_sar_den,
p_vout->fmt_out.i_sar_num, p_vout->fmt_out.i_sar_den, 0 );
AspectRatio( p_vout->fmt_out.i_aspect, &i_aspect_x, &i_aspect_y );
......
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