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:
authorHendrik Leppkes <h.leppkes@gmail.com>2011-11-07 22:09:38 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2011-11-17 20:13:48 +0400
commitc64c2e26c0d668867843ea304420e156327a6470 (patch)
treee1b39179c169c486f98c875a9acd8d956acfdc87
parentd195b7782f717cf21a1331d711ebe83d584b1438 (diff)
Disable VC-1 interlaced decoding.lav0.40
-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);
//...