aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-02-04 14:26:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-02-04 14:26:57 +0000
commited3e91489bc38b8ec15908c6d11eabd032bcbcbc (patch)
treec2ea99e5778babab58182d4a1688598e2da17272 /libavcodec
parent2d1653b0658eb7d2f611b7449a660ab5ea3d2174 (diff)
downloadffmpeg-ed3e91489bc38b8ec15908c6d11eabd032bcbcbc.tar.gz
Implement cool new vlc code.
Fixes issue1637 Originally committed as revision 21635 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/msmpeg4.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index fbdc2fa86f..60d104bdef 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -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;