summaryrefslogtreecommitdiff
path: root/libopenjpeg/mqc.c
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-08-21 12:30:08 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-08-21 12:30:08 +0000
commitd4d23c7eb56203d620b888fc67316e47ca9b20ca (patch)
tree5e1111f164de5c01b038e982e571ae1f8e485032 /libopenjpeg/mqc.c
parentadca52578d6ba5284b7df39ebdf9ed61a5e31d74 (diff)
Reworks of t1_updateflags to get rid of the shift operation. mqc_setcurctx moved to the header to allow it to be inlined into the t1.
Diffstat (limited to 'libopenjpeg/mqc.c')
-rw-r--r--libopenjpeg/mqc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libopenjpeg/mqc.c b/libopenjpeg/mqc.c
index a9d54565..9aa9d2c2 100644
--- a/libopenjpeg/mqc.c
+++ b/libopenjpeg/mqc.c
@@ -371,10 +371,6 @@ void mqc_init_enc(opj_mqc_t *mqc, unsigned char *bp) {
mqc->start = bp;
}
-void mqc_setcurctx(opj_mqc_t *mqc, int ctxno) {
- mqc->curctx = &mqc->ctxs[ctxno];
-}
-
void mqc_encode(opj_mqc_t *mqc, int d) {
if ((*mqc->curctx)->mps == d) {
mqc_codemps(mqc);