[FFmpeg-devel] [PATCH] avcodec/vc1: correct aspect ratio calculation
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Nov 14 17:06:44 EET 2018
2018-11-14 10:57 GMT+01:00, Jerome Borsboom <jerome.borsboom at carpalis.nl>:
> + av_reduce(&avctx->sample_aspect_ratio.num,
> + &avctx->sample_aspect_ratio.den,
> + v->disp_horiz_size * v->aspect_ratio.num * h,
> + v->disp_vert_size * v->aspect_ratio.den * w,
> + 1 << 30);
> + ff_set_sar(avctx, avctx->sample_aspect_ratio);
I would have expected these two statements to be redundant -
am I wrong?
Carl Eugen
More information about the ffmpeg-devel
mailing list