FS-7777 #resolv
This commit is contained in:
parent
a817701824
commit
08c7a1de34
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue