mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-01 07:20:58 +00:00
supporting rare overflow mess even with error_resilience>=0
Originally committed as revision 839 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
44273f1951
commit
5507833249
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user