Mercurial > libavcodec.hg
diff mpegvideo.c @ 618:4f3d4a07d374 libavcodec
added aspected_width/height for EXTENDED_PAR
author | al3x |
---|---|
date | Mon, 26 Aug 2002 20:45:01 +0000 |
parents | c0005de2be59 |
children | 2be2cc8fd0a1 |
line wrap: on
line diff
--- a/mpegvideo.c Mon Aug 26 16:10:41 2002 +0000 +++ b/mpegvideo.c Mon Aug 26 20:45:01 2002 +0000 @@ -382,6 +382,11 @@ s->qblur= avctx->qblur; s->avctx = avctx; s->aspect_ratio_info= avctx->aspect_ratio_info; + if (avctx->aspect_ratio_info == FF_ASPECT_EXTENDED) + { + s->aspected_width = avctx->aspected_width; + s->aspected_height = avctx->aspected_height; + } s->flags= avctx->flags; s->max_b_frames= avctx->max_b_frames; s->b_frame_strategy= avctx->b_frame_strategy;