# HG changeset patch # User kostya # Date 1170658682 0 # Node ID 82277cf5f051564ab70ccbd03543f9d86c94ed9c # Parent 4638532defe516e7e9be9985bb381ff2030c6e26 Set codec dimensions in extradata parsing diff -r 4638532defe5 -r 82277cf5f051 vc1.c --- a/vc1.c Mon Feb 05 06:56:49 2007 +0000 +++ b/vc1.c Mon Feb 05 06:58:02 2007 +0000 @@ -1278,6 +1278,8 @@ v->s.avctx->coded_width = (get_bits(gb, 12) + 1) << 1; v->s.avctx->coded_height = (get_bits(gb, 12) + 1) << 1; + v->s.avctx->width = v->s.avctx->coded_width; + v->s.avctx->height = v->s.avctx->coded_height; v->broadcast = get_bits1(gb); v->interlace = get_bits1(gb); if(v->interlace){