summaryrefslogtreecommitdiff
path: root/libavcodec/mdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-04-18 20:07:48 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-04-18 20:07:48 +0000
commite91f4bf1606801d53c33234d0f5ff3a7138a6f3f (patch)
treea819add24a1a32ad7e51264e65bb13ab7af7a8f4 /libavcodec/mdec.c
parent5bb8a0daa1bd660fd70261eaf2bba44f7aab1cd5 (diff)
avoid UPDATE_CACHE() in GET_RL_VLC() if not needed
Originally committed as revision 4137 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mdec.c')
-rw-r--r--libavcodec/mdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c
index a71f050cde..d6e5d044a0 100644
--- a/libavcodec/mdec.c
+++ b/libavcodec/mdec.c
@@ -81,7 +81,7 @@ static inline int mdec_decode_block_intra(MDECContext *a, DCTELEM *block, int n)
/* 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;