mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Fail on VC-1 interlaced streams
Originally committed as revision 7693 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9d57fd9be5
commit
5cca6bc3cd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user