diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2002-09-13 19:31:32 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2002-09-13 19:31:32 +0000 |
commit | 050fe8bab5e772f04e271c069e9d85c17f08e94f (patch) | |
tree | b0cc253bd6f0694f8f1a925db1151b8cfe0d2ab7 /libavcodec/h263dec.c | |
parent | 60286c8a374aa20073a0c99810576df323c7af9e (diff) | |
download | ffmpeg-050fe8bab5e772f04e271c069e9d85c17f08e94f.tar.gz |
aspect (ext. par too) support for h263 and mpeg4 (inc. build becouse of new vars)
Originally committed as revision 941 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 90b5a708f2..ffecbc932b 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -193,6 +193,11 @@ uint64_t time= rdtsc(); 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; } |