[mod_imagick] [mod_png] small tweaks for pdf

This commit is contained in:
Anthony Minessale 2020-05-19 23:33:11 +00:00 committed by Andrey Volk
parent 07884e20a2
commit 4ad2e71f95
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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) {