Commit 71dfe7a9 authored by Tristan Matthews's avatar Tristan Matthews

vpx: no need to check fmt_in

parent 6a60aa2f
......@@ -163,13 +163,10 @@ static picture_t *Decode(decoder_t *dec, block_t **pp_block)
v->i_visible_height = img->d_h;
}
if( !dec->fmt_in.video.i_sar_num || !dec->fmt_in.video.i_sar_den )
if( !dec->fmt_out.video.i_sar_num || !dec->fmt_out.video.i_sar_den )
{
if( !dec->fmt_out.video.i_sar_num || !dec->fmt_out.video.i_sar_den )
{
dec->fmt_out.video.i_sar_num = 1;
dec->fmt_out.video.i_sar_den = 1;
}
dec->fmt_out.video.i_sar_num = 1;
dec->fmt_out.video.i_sar_den = 1;
}
picture_t *pic = decoder_NewPicture(dec);
......
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