From 02c823d4f3cf4d40a9dabd4d5f815ea73e242f6f Mon Sep 17 00:00:00 2001
From: Kostya Shishkov <kostya.shishkov@gmail.com>
Date: Tue, 6 Feb 2007 07:07:29 +0000
Subject: [PATCH] Wrong flag tested

Originally committed as revision 7847 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/vc1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 67112704527..df3e7067236 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -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);
-- 
GitLab