Commit 5de655a5 authored by michael's avatar michael

more tolerance for dc=0


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2716 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7f3ecd4c
......@@ -4432,6 +4432,7 @@ static int h263_decode_block(MpegEncContext * s, DCTELEM * block,
level = get_bits(&s->gb, 8);
if((level&0x7F) == 0){
av_log(s->avctx, AV_LOG_ERROR, "illegal dc %d at %d %d\n", level, s->mb_x, s->mb_y);
if(s->error_resilience >= FF_ER_COMPLIANT)
return -1;
}
if (level == 255)
......
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