diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index aa1bdacf85..0c88cd758e 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -506,6 +506,8 @@ retry: s->context_initialized=0; } if (!s->context_initialized) { + avctx->width = s->width; + avctx->height = s->height; avctx->aspect_ratio= new_aspect; goto retry;