diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-11-23 09:03:33 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-11-23 09:03:33 +0000 |
commit | 2b93af99dcc88d2d4a657df0b263fecb74be1a78 (patch) | |
tree | a78e79e6b74347674c5bd5ca63710672a7ef6169 /formats | |
parent | f0780d2b470cc5437b468c170ff020049e4671f8 (diff) |
formatting cleanup on the header,
normalization of the assignment of descriptor fields.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats')
-rw-r--r-- | formats/format_jpeg.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/formats/format_jpeg.c b/formats/format_jpeg.c index 50bd549b7..4d8d7855d 100644 --- a/formats/format_jpeg.c +++ b/formats/format_jpeg.c @@ -89,13 +89,13 @@ static int jpeg_write_image(int fd, struct ast_frame *fr) } static struct ast_imager jpeg_format = { - "jpg", - "JPEG (Joint Picture Experts Group)", - "jpg|jpeg", - AST_FORMAT_JPEG, - jpeg_read_image, - jpeg_identify, - jpeg_write_image, + .name = "jpg", + .desc = "JPEG (Joint Picture Experts Group)", + .exts = "jpg|jpeg", + .format = AST_FORMAT_JPEG, + .read_image = jpeg_read_image, + .identify = jpeg_identify, + .write_image = jpeg_write_image, }; static int load_module(void) |