Implement cool new vlc code.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Feb 2010 14:26:57 +0000 (14:26 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Feb 2010 14:26:57 +0000 (14:26 +0000)
Fixes issue1637

Originally committed as revision 21635 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/msmpeg4.c

index fbdc2fa..60d104b 100644 (file)
@@ -1732,9 +1732,7 @@ int ff_msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
                             if(s->qscale<8){
                                 ll= SHOW_UBITS(re, &s->gb, 3); SKIP_BITS(re, &s->gb, 3);
                                 if(ll==0){
-                                    if(SHOW_UBITS(re, &s->gb, 1)) av_log(s->avctx, AV_LOG_ERROR, "cool a new vlc code ,contact the ffmpeg developers and upload the file\n");
-                                    SKIP_BITS(re, &s->gb, 1);
-                                    ll=8;
+                                    ll= 8+SHOW_UBITS(re, &s->gb, 1); SKIP_BITS(re, &s->gb, 1);
                                 }
                             }else{
                                 ll=2;