Commit 4500166e authored by kostya's avatar kostya

Fail on VC-1 interlaced streams

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7693 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e1e9f362
......@@ -1268,6 +1268,10 @@ static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
v->s.avctx->coded_height = (get_bits(gb, 12) + 1) << 1;
v->broadcast = get_bits1(gb);
v->interlace = get_bits1(gb);
if(v->interlace){
av_log(v->s.avctx, AV_LOG_ERROR, "Interlaced mode not supported (yet)\n");
return -1;
}
v->tfcntrflag = get_bits1(gb);
v->finterpflag = get_bits1(gb);
get_bits1(gb); // reserved
......
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