Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/vc1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 7c4eb2e157..8cbffc244d 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -886,6 +886,11 @@ int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
v->rff = get_bits1(gb);
}
}
+
+ if (v->interlace && v->fcm) {
+ return -1;
+ }
+
if (v->panscanflag) {
av_log_missing_feature(v->s.avctx, "Pan-scan", 0);
//...