fe4f1a6105
Patch from debian bug 940605
19 lines
781 B
Diff
19 lines
781 B
Diff
diff --git a/jbig2.c b/jbig2.c
|
|
index 97018ea..17ffd72 100644
|
|
--- a/jbig2.c
|
|
+++ b/jbig2.c
|
|
@@ -99,6 +99,13 @@ jbig2_error(Jbig2Ctx *ctx, Jbig2Severity severity, int32_t segment_number, const
|
|
return -1;
|
|
}
|
|
|
|
+#undef jbig2_ctx_new
|
|
+Jbig2Ctx *
|
|
+jbig2_ctx_new(Jbig2Allocator *allocator, Jbig2Options options, Jbig2GlobalCtx *global_ctx, Jbig2ErrorCallback error_callback, void *error_callback_data)
|
|
+{
|
|
+ return jbig2_ctx_new_imp((allocator), (options), (global_ctx), (error_callback), (error_callback_data), JBIG2_VERSION_MAJOR, JBIG2_VERSION_MINOR);
|
|
+}
|
|
+
|
|
Jbig2Ctx *
|
|
jbig2_ctx_new_imp(Jbig2Allocator *allocator, Jbig2Options options, Jbig2GlobalCtx *global_ctx, Jbig2ErrorCallback error_callback, void *error_callback_data, int jbig2_version_major, int jbig2_version_minor)
|
|
{
|