mirror of https://git.ffmpeg.org/ffmpeg.git
msmpeg4: ignore negative DC overflow
Fixes second half of Ticket2414 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c03dc44070
commit
b4eb06d325
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue