Wrong flag tested

Originally committed as revision 7847 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov 2007-02-06 07:07:29 +00:00
parent 5e5067c73d
commit 02c823d4f3

View File

@ -1646,7 +1646,7 @@ static int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
if(v->tfcntrflag)
get_bits(gb, 8);
if(v->broadcast) {
if(!v->interlace || v->panscanflag) {
if(!v->interlace || v->psf) {
v->rptfrm = get_bits(gb, 2);
} else {
v->tff = get_bits1(gb);