Browse Source

mpeg12dec: Support invalid field motion types,

Fixes Ticket539

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
f0ff822ccb
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      libavcodec/mpeg12.c

+ 0
- 4
libavcodec/mpeg12.c View File

@@ -936,10 +936,6 @@ static int mpeg_decode_mb(MpegEncContext *s, DCTELEM block[12][64])
}
break;
case MT_FIELD:
if(s->progressive_sequence){
av_log(s->avctx, AV_LOG_ERROR, "MT_FIELD in progressive_sequence\n");
return -1;
}
s->mv_type = MV_TYPE_FIELD;
if (s->picture_structure == PICT_FRAME) {
mb_type |= MB_TYPE_16x8 | MB_TYPE_INTERLACED;


Loading…
Cancel
Save