diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-23 09:03:33 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-23 09:03:33 +0000 |
commit | f73d6060678cbe24f526d8e99ba5a8207605f035 (patch) | |
tree | a78e79e6b74347674c5bd5ca63710672a7ef6169 /formats | |
parent | 5299bba5ce583a7cc806c55556974da420a2cd0d (diff) |
formatting cleanup on the header,
normalization of the assignment of descriptor fields.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89530 f38db490-d61c-443f-a65b-d21fe96a405b
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) |