Mercurial > libavcodec.hg
comparison h263.c @ 921:f633377858b6 libavcodec
ump4 decoding fixed
author | michaelni |
---|---|
date | Sat, 07 Dec 2002 11:38:26 +0000 |
parents | bbe0c99231a7 |
children | 3b5d9ecedc73 |
comparison
equal
deleted
inserted
replaced
920:a0ad8e3452f2 | 921:f633377858b6 |
---|---|
3622 return -1; | 3622 return -1; |
3623 } | 3623 } |
3624 #if 1 | 3624 #if 1 |
3625 { | 3625 { |
3626 const int abs_level= ABS(level); | 3626 const int abs_level= ABS(level); |
3627 if(abs_level<=MAX_LEVEL && run<=MAX_RUN){ | 3627 if(abs_level<=MAX_LEVEL && run<=MAX_RUN && !(s->workaround_bugs&FF_BUG_AC_VLC)){ |
3628 const int run1= run - rl->max_run[last][abs_level] - 1; | 3628 const int run1= run - rl->max_run[last][abs_level] - 1; |
3629 if(abs_level <= rl->max_level[last][run]){ | 3629 if(abs_level <= rl->max_level[last][run]){ |
3630 fprintf(stderr, "illegal 3. esc, vlc encoding possible\n"); | 3630 fprintf(stderr, "illegal 3. esc, vlc encoding possible\n"); |
3631 return -1; | 3631 return -1; |
3632 } | 3632 } |