]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_imagick] [mod_png] small tweaks for pdf
authorAnthony Minessale <anthm@signalwire.com>
Tue, 19 May 2020 23:33:11 +0000 (23:33 +0000)
committerAndrey Volk <andywolk@gmail.com>
Sat, 23 Oct 2021 19:00:08 +0000 (22:00 +0300)
src/mod/formats/mod_imagick/mod_imagick.c
src/mod/formats/mod_png/mod_png.c

index 64ee6762e9f5f8cb758bb6db5e73fa3d3c7125e3..ee702fa2593496dbd3eaee80de87a2b687f21c1c 100644 (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();
index 7508dc4fd70bfc5cf630d1c7cc03f36ff0326d05..36e38e9c83e6cd4e754f3685ff7cb9a543499fb4 100644 (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) {