提交 3bfec66b authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Michael Jerris

FS-7515: add more cv features

上级 c819a172
...@@ -539,10 +539,15 @@ SWITCH_DECLARE(switch_status_t) switch_img_txt_handle_create(switch_img_txt_hand ...@@ -539,10 +539,15 @@ SWITCH_DECLARE(switch_status_t) switch_img_txt_handle_create(switch_img_txt_hand
SWITCH_DECLARE(void) switch_img_txt_handle_destroy(switch_img_txt_handle_t **handleP) SWITCH_DECLARE(void) switch_img_txt_handle_destroy(switch_img_txt_handle_t **handleP)
{ {
switch_img_txt_handle_t *old_handle = *handleP; switch_img_txt_handle_t *old_handle;
switch_memory_pool_t *pool; switch_memory_pool_t *pool;
switch_assert(handleP);
old_handle = *handleP;
*handleP = NULL; *handleP = NULL;
if (!old_handle) return;
#if SWITCH_HAVE_FREETYPE #if SWITCH_HAVE_FREETYPE
if (old_handle->library) { if (old_handle->library) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论