changeset 593:5b7e0db3e886 libavcodec

making some error checks optional
author michaelni
date Sun, 04 Aug 2002 16:21:41 +0000
parents 909e50c67d0e
children 7e26eb37bbbc
files msmpeg4.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/msmpeg4.c	Sun Aug 04 16:05:05 2002 +0000
+++ b/msmpeg4.c	Sun Aug 04 16:21:41 2002 +0000
@@ -1859,7 +1859,7 @@
         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{