diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-10-13 11:13:10 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-10-13 11:13:10 +0000 |
commit | ac0c66382d313b581c71c21d356fe08746e3fbc0 (patch) | |
tree | 7dc5b3c0ec08588587c06cbafd8cab521ff05d99 /libavcodec/h263.c | |
parent | 117a5490bd57adcb0be3274222e89fc6c7107f8b (diff) | |
download | ffmpeg-ac0c66382d313b581c71c21d356fe08746e3fbc0.tar.gz |
dont check if the ac esc 3 could have been stored as vlc as this detects only very few errors allthough it detects several buggy encoders
Originally committed as revision 2370 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index ce07321126..39ed7c824c 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -4082,10 +4082,10 @@ static inline int mpeg4_decode_block(MpegEncContext * s, DCTELEM * block, fprintf(stderr, "|level| overflow in 3. esc, qp=%d\n", s->qscale); return -1; } -#if 1 - { +#if 0 + if(s->error_resilience >= FF_ER_COMPLIANT){ const int abs_level= ABS(level); - if(abs_level<=MAX_LEVEL && run<=MAX_RUN && !(s->workaround_bugs&FF_BUG_AC_VLC)){ + if(abs_level<=MAX_LEVEL && run<=MAX_RUN){ 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"); |