Commit d6c21c7a authored by Michael Niedermayer's avatar Michael Niedermayer

mpeg12dec: assert no field frame mess

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent be401448
...@@ -961,6 +961,7 @@ static int mpeg_decode_mb(MpegEncContext *s, DCTELEM block[12][64]) ...@@ -961,6 +961,7 @@ static int mpeg_decode_mb(MpegEncContext *s, DCTELEM block[12][64])
} }
} }
} else { } else {
av_assert0(!s->progressive_sequence);
mb_type |= MB_TYPE_16x16 | MB_TYPE_INTERLACED; mb_type |= MB_TYPE_16x16 | MB_TYPE_INTERLACED;
for (i = 0; i < 2; i++) { for (i = 0; i < 2; i++) {
if (USES_LIST(mb_type, i)) { if (USES_LIST(mb_type, i)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment