diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-08-04 16:46:18 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-08-04 16:46:18 +0000 |
commit | 55078332495d879ad4aeb23ae2bada75130431c6 (patch) | |
tree | a7f7d3d5d9523f4b32d4c1814fffd78b260e6470 /libavcodec/msmpeg4.c | |
parent | 44273f19512f96a6e7bd1a4cbcec6c75c93ab488 (diff) | |
download | ffmpeg-55078332495d879ad4aeb23ae2bada75130431c6.tar.gz |
supporting rare overflow mess even with error_resilience>=0
Originally committed as revision 839 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r-- | libavcodec/msmpeg4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index ae821517f2..74c16994e5 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -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{ |