Wrong flag tested
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 6 Feb 2007 07:07:29 +0000 (07:07 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 6 Feb 2007 07:07:29 +0000 (07:07 +0000)
Originally committed as revision 7847 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vc1.c

index 67112704527e14a80b9687f037d977e7106c06f5..df3e7067236fda76252d3ba2fd76be3aa117a31c 100644 (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);