Commit eb9521d2 authored by kostya's avatar kostya

Set codec dimensions in extradata parsing

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7820 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0d32f920
...@@ -1278,6 +1278,8 @@ static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb) ...@@ -1278,6 +1278,8 @@ static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
v->s.avctx->coded_width = (get_bits(gb, 12) + 1) << 1; 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->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->broadcast = get_bits1(gb);
v->interlace = get_bits1(gb); v->interlace = get_bits1(gb);
if(v->interlace){ if(v->interlace){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment