Commit cf0c186c authored by michaelni's avatar michaelni

supporting rare overflow mess even with error_resilience>=0


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@839 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6d8e1994
......@@ -1859,7 +1859,7 @@ static inline int msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
if (i > 62){
i-= 192;
if(i&(~63)){
if(s->error_resilience<0){
if((i+192 == 64 && level/qmul==-1) || s->error_resilience<0){
fprintf(stderr, "ignoring overflow at %d %d\n", s->mb_x, s->mb_y);
break;
}else{
......
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