提交 08c7a1de authored 作者: Seven Du's avatar Seven Du

FS-7777 #resolv

上级 a8177018
......@@ -294,6 +294,10 @@ static switch_status_t imagick_file_read_video(switch_file_handle_t *handle, swi
switch_image_t *dup = NULL;
switch_status_t status;
if ((flags & SVR_CHECK)) {
return SWITCH_STATUS_BREAK;
}
if (!context->images || !context->samples) {
return SWITCH_STATUS_FALSE;
}
......
......@@ -178,7 +178,11 @@ static switch_status_t png_file_read_video(switch_file_handle_t *handle, switch_
{
png_file_context_t *context = (png_file_context_t *)handle->private_info;
switch_image_t *dup = NULL;
if ((flags & SVR_CHECK)) {
return SWITCH_STATUS_BREAK;
}
if (!context->img || !context->samples) {
return SWITCH_STATUS_FALSE;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论