Mercurial > libavcodec.hg
diff mdec.c @ 2615:0d88e3f89379 libavcodec
avoid UPDATE_CACHE() in GET_RL_VLC() if not needed
author | michael |
---|---|
date | Mon, 18 Apr 2005 20:07:48 +0000 |
parents | f67b63ed036d |
children | 89b92f0800ab |
line wrap: on
line diff
--- a/mdec.c Mon Apr 18 12:08:16 2005 +0000 +++ b/mdec.c Mon Apr 18 20:07:48 2005 +0000 @@ -81,7 +81,7 @@ /* now quantify & encode AC coefs */ for(;;) { UPDATE_CACHE(re, &a->gb); - GET_RL_VLC(level, run, re, &a->gb, rl->rl_vlc[0], TEX_VLC_BITS, 2); + GET_RL_VLC(level, run, re, &a->gb, rl->rl_vlc[0], TEX_VLC_BITS, 2, 0); if(level == 127){ break;