msmpeg4: ignore negative DC overflow

Fixes second half of Ticket2414

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-04-09 16:27:49 +02:00
parent c03dc44070
commit b4eb06d325
1 changed files with 0 additions and 1 deletions

View File

@ -653,7 +653,6 @@ int ff_msmpeg4_decode_block(MpegEncContext * s, int16_t * block,
if (level < 0){ if (level < 0){
av_log(s->avctx, AV_LOG_ERROR, "dc overflow- block: %d qscale: %d//\n", n, s->qscale); av_log(s->avctx, AV_LOG_ERROR, "dc overflow- block: %d qscale: %d//\n", n, s->qscale);
if(s->inter_intra_pred) level=0; if(s->inter_intra_pred) level=0;
else return -1;
} }
if (n < 4) { if (n < 4) {
rl = &ff_rl_table[s->rl_table_index]; rl = &ff_rl_table[s->rl_table_index];