diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index ead734939dff1aeaf2b02d815b6bc204ca23d373..358ea432bcb68b75e9afee84d29aa46969d1234d 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)) {