Version 0.1.11 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
239b43d953
commit
42b068e43e
2
image.c
2
image.c
|
@ -68,6 +68,8 @@ void ast_image_unregister(struct ast_imager *img)
|
||||||
|
|
||||||
int ast_supports_images(struct ast_channel *chan)
|
int ast_supports_images(struct ast_channel *chan)
|
||||||
{
|
{
|
||||||
|
if (!chan || !chan->pvt)
|
||||||
|
return 0;
|
||||||
if (!chan->pvt->send_image)
|
if (!chan->pvt->send_image)
|
||||||
return 0;
|
return 0;
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue