aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-19 03:28:25 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-19 03:28:25 +0200
commitd6c21c7a6437a490568d9e049658190bc618b104 (patch)
tree74e2e99718907ecc629833e4b68b2a80a9aaa114 /libavcodec/mpeg12.c
parentbe401448e51f209a13e95d30f17d85d0168e1b40 (diff)
downloadffmpeg-d6c21c7a6437a490568d9e049658190bc618b104.tar.gz
mpeg12dec: assert no field frame mess
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c1
1 files changed, 1 insertions, 0 deletions
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)) {