# HG changeset patch # User kostya # Date 1231833940 0 # Node ID 8a47574d9fbc7d5ab3732c082e51029562d46b2f # Parent d94775e24b0e5bfb6aa10a38f66126854ad8466f VC-1 display dimensions should affect coded dimensions only (I think) diff -r d94775e24b0e -r 8a47574d9fbc vc1.c --- a/vc1.c Tue Jan 13 08:03:45 2009 +0000 +++ b/vc1.c Tue Jan 13 08:05:40 2009 +0000 @@ -1007,8 +1007,8 @@ if(get_bits1(gb)) { //Display Info - decoding is not affected by it int w, h, ar = 0; av_log(v->s.avctx, AV_LOG_DEBUG, "Display extended info:\n"); - v->s.avctx->width = v->s.width = w = get_bits(gb, 14) + 1; - v->s.avctx->height = v->s.height = h = get_bits(gb, 14) + 1; + v->s.avctx->coded_width = w = get_bits(gb, 14) + 1; + v->s.avctx->coded_height = h = get_bits(gb, 14) + 1; av_log(v->s.avctx, AV_LOG_DEBUG, "Display dimensions: %ix%i\n", w, h); if(get_bits1(gb)) ar = get_bits(gb, 4);