summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/filter.h
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-09-12 22:26:00 +0800
committerSebastian Rasmussen <sebras@gmail.com>2017-09-13 17:42:00 +0200
commit2707fa9e8e6d17d794330e719dec1b08161fb045 (patch)
tree63b1dfc46e596d0ee6e6f34dec971c62ecbe1f16 /include/mupdf/fitz/filter.h
parent7c8151b6d42f036644a49245ffd6abf02422ac64 (diff)
downloadmupdf-2707fa9e8e6d17d794330e719dec1b08161fb045.tar.xz
Consistently drop filter chain upon error.
Diffstat (limited to 'include/mupdf/fitz/filter.h')
-rw-r--r--include/mupdf/fitz/filter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/filter.h b/include/mupdf/fitz/filter.h
index 58dc3e21..2f73f02f 100644
--- a/include/mupdf/fitz/filter.h
+++ b/include/mupdf/fitz/filter.h
@@ -12,7 +12,7 @@ typedef struct fz_jbig2_globals_s fz_jbig2_globals;
fz_stream *fz_open_copy(fz_context *ctx, fz_stream *chain);
fz_stream *fz_open_null(fz_context *ctx, fz_stream *chain, int len, fz_off_t offset);
fz_stream *fz_open_concat(fz_context *ctx, int max, int pad);
-void fz_concat_push(fz_context *ctx, fz_stream *concat, fz_stream *chain); /* Ownership of chain is passed in */
+void fz_concat_push_drop(fz_context *ctx, fz_stream *concat, fz_stream *chain); /* Ownership of chain is passed in */
fz_stream *fz_open_arc4(fz_context *ctx, fz_stream *chain, unsigned char *key, unsigned keylen);
fz_stream *fz_open_aesd(fz_context *ctx, fz_stream *chain, unsigned char *key, unsigned keylen);
fz_stream *fz_open_a85d(fz_context *ctx, fz_stream *chain);