diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-08-04 16:21:41 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-08-04 16:21:41 +0000 |
commit | 44273f19512f96a6e7bd1a4cbcec6c75c93ab488 (patch) | |
tree | 4cdee2ee3675aadc94e0b79c8529f23032064c4b /libavcodec/msmpeg4.c | |
parent | b7adc711fa663f8714a3d096f763cf5129c99505 (diff) | |
download | ffmpeg-44273f19512f96a6e7bd1a4cbcec6c75c93ab488.tar.gz |
making some error checks optional
Originally committed as revision 838 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 dd36c65765..ae821517f2 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(i+192 == 64 && level/qmul==-1){ + if(s->error_resilience<0){ fprintf(stderr, "ignoring overflow at %d %d\n", s->mb_x, s->mb_y); break; }else{ |