From 4ad2e71f95bf2b923f7c02de7e08ed232f3741af Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 19 May 2020 23:33:11 +0000 Subject: [PATCH] [mod_imagick] [mod_png] small tweaks for pdf --- src/mod/formats/mod_imagick/mod_imagick.c | 2 +- src/mod/formats/mod_png/mod_png.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/formats/mod_imagick/mod_imagick.c b/src/mod/formats/mod_imagick/mod_imagick.c index 64ee6762e9..ee702fa259 100644 --- a/src/mod/formats/mod_imagick/mod_imagick.c +++ b/src/mod/formats/mod_imagick/mod_imagick.c @@ -176,7 +176,7 @@ static switch_status_t imagick_file_open(switch_file_handle_t *handle, const cha context->autoplay = 1; } - context->max = 10000; + context->max = 86400000; context->exception = AcquireExceptionInfo(); context->image_info = AcquireImageInfo(); diff --git a/src/mod/formats/mod_png/mod_png.c b/src/mod/formats/mod_png/mod_png.c index 7508dc4fd7..36e38e9c83 100644 --- a/src/mod/formats/mod_png/mod_png.c +++ b/src/mod/formats/mod_png/mod_png.c @@ -76,7 +76,7 @@ static switch_status_t png_file_open(switch_file_handle_t *handle, const char *p } memset(context, 0, sizeof(png_file_context_t)); - context->max = 10000; + context->max = 86400000;; switch_mutex_init(&context->mutex, SWITCH_MUTEX_NESTED, handle->memory_pool); if (handle->params) {