diff options
Diffstat (limited to 'include/asterisk/image.h')
-rw-r--r-- | include/asterisk/image.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asterisk/image.h b/include/asterisk/image.h index a3e2e015e..302f09e85 100644 --- a/include/asterisk/image.h +++ b/include/asterisk/image.h @@ -28,7 +28,7 @@ struct ast_imager { char *name; /*!< Name */ char *desc; /*!< Description */ char *exts; /*!< Extension(s) (separated by '|' ) */ - int format; /*!< Image format */ + struct ast_format format; /*!< Image format */ struct ast_frame *(*read_image)(int fd, int len); /*!< Read an image from a file descriptor */ int (*identify)(int fd); /*!< Identify if this is that type of file */ int (*write_image)(int fd, struct ast_frame *frame); /*!< Returns length written */ @@ -57,12 +57,12 @@ int ast_send_image(struct ast_channel *chan, const char *filename); * \brief Make an image * \param filename filename of image to prepare * \param preflang preferred language to get the image...? - * \param format the format of the file + * \param format the format of the file, NULL for any image format * Make an image from a filename ??? No estoy positivo * \retval an ast_frame on success * \retval NULL on failure */ -struct ast_frame *ast_read_image(const char *filename, const char *preflang, int format); +struct ast_frame *ast_read_image(const char *filename, const char *preflang, struct ast_format *format); /*! * \brief Register image format |