[mod_imagick] [mod_png] small tweaks for pdf

This commit is contained in:
Anthony Minessale authored and Andrey Volk committed 2021-10-23 22:00:08 +03:00
1 parent 07884e20a2
commit 4ad2e71f95
2 files changed
+2 -2

No files matched your search

+1 -1
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();
+1 -1
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) {