Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2614:5e24800ab329 | 2615:0d88e3f89379 |
---|---|
79 { | 79 { |
80 OPEN_READER(re, &a->gb); | 80 OPEN_READER(re, &a->gb); |
81 /* now quantify & encode AC coefs */ | 81 /* now quantify & encode AC coefs */ |
82 for(;;) { | 82 for(;;) { |
83 UPDATE_CACHE(re, &a->gb); | 83 UPDATE_CACHE(re, &a->gb); |
84 GET_RL_VLC(level, run, re, &a->gb, rl->rl_vlc[0], TEX_VLC_BITS, 2); | 84 GET_RL_VLC(level, run, re, &a->gb, rl->rl_vlc[0], TEX_VLC_BITS, 2, 0); |
85 | 85 |
86 if(level == 127){ | 86 if(level == 127){ |
87 break; | 87 break; |
88 } else if(level != 0) { | 88 } else if(level != 0) { |
89 i += run; | 89 i += run; |