From d6c21c7a6437a490568d9e049658190bc618b104 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 19 Oct 2011 03:28:25 +0200 Subject: [PATCH] mpeg12dec: assert no field frame mess Signed-off-by: Michael Niedermayer --- libavcodec/mpeg12.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index ead734939d..358ea432bc 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -961,6 +961,7 @@ static int mpeg_decode_mb(MpegEncContext *s, DCTELEM block[12][64]) } } } else { + av_assert0(!s->progressive_sequence); mb_type |= MB_TYPE_16x16 | MB_TYPE_INTERLACED; for (i = 0; i < 2; i++) { if (USES_LIST(mb_type, i)) {