[mod_imagick] [mod_png] small tweaks for pdf
This commit is contained in:
parent
07884e20a2
commit
4ad2e71f95
|
@ -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();
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue