diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-19 03:29:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-19 03:29:15 +0200 |
commit | f0ff822ccb9b2bd46063e35fcb1681cd0affecac (patch) | |
tree | 4d08ff5e895ee6c7a6bcc455dcbf2addaf69d487 | |
parent | d6c21c7a6437a490568d9e049658190bc618b104 (diff) | |
download | ffmpeg-f0ff822ccb9b2bd46063e35fcb1681cd0affecac.tar.gz |
mpeg12dec: Support invalid field motion types,
Fixes Ticket539
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/mpeg12.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 358ea432bc..ab8f2215bc 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -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; |