diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-09-21 00:11:22 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-09-21 00:11:22 +0200 |
commit | 69ed4a8f4dbfac7f2f1de925e34807e4fee3b27c (patch) | |
tree | b7f82296a259d360ce90f0826e475321d630a222 /fitz/filt_lzwd.c | |
parent | 99ba154018b7c4a2c47b4c7e721ffe6d9164f9f3 (diff) | |
download | mupdf-69ed4a8f4dbfac7f2f1de925e34807e4fee3b27c.tar.xz |
Don't thread ctx through safe fz_obj functions.
Diffstat (limited to 'fitz/filt_lzwd.c')
-rw-r--r-- | fitz/filt_lzwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/filt_lzwd.c b/fitz/filt_lzwd.c index b6534dfe..17d41d94 100644 --- a/fitz/filt_lzwd.c +++ b/fitz/filt_lzwd.c @@ -176,9 +176,9 @@ fz_open_lzwd(fz_stream *chain, fz_obj *params) lzw->eod = 0; lzw->early_change = 1; - obj = fz_dict_gets(chain->ctx, params, "EarlyChange"); + obj = fz_dict_gets(params, "EarlyChange"); if (obj) - lzw->early_change = !!fz_to_int(chain->ctx, obj); + lzw->early_change = !!fz_to_int(obj); for (i = 0; i < 256; i++) { |