diff h263.c @ 921:f633377858b6 libavcodec

ump4 decoding fixed
author michaelni
date Sat, 07 Dec 2002 11:38:26 +0000
parents bbe0c99231a7
children 3b5d9ecedc73
line wrap: on
line diff
--- a/h263.c	Fri Dec 06 17:58:21 2002 +0000
+++ b/h263.c	Sat Dec 07 11:38:26 2002 +0000
@@ -3624,7 +3624,7 @@
 #if 1 
                     {
                         const int abs_level= ABS(level);
-                        if(abs_level<=MAX_LEVEL && run<=MAX_RUN){
+                        if(abs_level<=MAX_LEVEL && run<=MAX_RUN && !(s->workaround_bugs&FF_BUG_AC_VLC)){
                             const int run1= run - rl->max_run[last][abs_level] - 1;
                             if(abs_level <= rl->max_level[last][run]){
                                 fprintf(stderr, "illegal 3. esc, vlc encoding possible\n");