Mercurial > libavcodec.hg
diff h263dec.c @ 669:b4bddbde44f3 libavcodec
aspect (ext. par too) support for h263 and mpeg4 (inc. build becouse of new vars)
author | al3x |
---|---|
date | Fri, 13 Sep 2002 19:31:32 +0000 |
parents | dc8df8792a24 |
children | 85b071dfc7e3 |
line wrap: on
line diff
--- a/h263dec.c Fri Sep 13 15:44:53 2002 +0000 +++ b/h263dec.c Fri Sep 13 19:31:32 2002 +0000 @@ -193,6 +193,11 @@ avctx->width = s->width; avctx->height = s->height; avctx->aspect_ratio_info= s->aspect_ratio_info; + if (s->aspect_ratio_info == FF_ASPECT_EXTENDED) + { + avctx->aspected_width = s->aspected_width; + avctx->aspected_height = s->aspected_height; + } if (MPV_common_init(s) < 0) return -1; }