summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-03-22 23:22:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-03-22 23:22:08 +0000
commit11ce88346b1ae4da21b581baf1b4eb784d842547 (patch)
treebffaf9c06980445db1dc0cf44399526faee72316 /libavcodec/h263dec.c
parentc5b1c10a0e1ed783674b24d787797ffba9bdffc0 (diff)
mpeg4 aspect_ratio_info in AVCodecContext (requested by alex)
experimental (& faster) motion estimation squished a dirty uninitialized var bug mpeg1 fcode>1 support Originally committed as revision 349 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 8a80af6bb0..aa822800bd 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -123,6 +123,7 @@ static int h263_decode_frame(AVCodecContext *avctx,
if (!s->context_initialized) {
avctx->width = s->width;
avctx->height = s->height;
+ avctx->aspect_ratio_info= s->aspect_ratio_info;
if (MPV_common_init(s) < 0)
return -1;
} else if (s->width != avctx->width || s->height != avctx->height) {