Commit b4eb06d3 authored by Michael Niedermayer's avatar Michael Niedermayer

msmpeg4: ignore negative DC overflow

Fixes second half of Ticket2414
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c03dc440
......@@ -653,7 +653,6 @@ int ff_msmpeg4_decode_block(MpegEncContext * s, int16_t * block,
if (level < 0){
av_log(s->avctx, AV_LOG_ERROR, "dc overflow- block: %d qscale: %d//\n", n, s->qscale);
if(s->inter_intra_pred) level=0;
else return -1;
}
if (n < 4) {
rl = &ff_rl_table[s->rl_table_index];
......
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