diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2009-02-09 12:54:40 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2009-02-09 12:54:40 +0000 |
commit | 79e68576f0d06dbec50bde3778e3feffb18b9f76 (patch) | |
tree | 316b7938df805a597996d6ff516d7969953fd77c /plugins/easy_codec/codec-g7231.c | |
parent | a10b54dc85d843fb9c9c79a7227446c6620e5b70 (diff) | |
download | wireshark-79e68576f0d06dbec50bde3778e3feffb18b9f76.tar.gz |
- remove reference to AMR (submitted by mistake)
- add new lines at the ends of headers
- fix struct usage
svn path=/trunk/; revision=27401
Diffstat (limited to 'plugins/easy_codec/codec-g7231.c')
-rw-r--r-- | plugins/easy_codec/codec-g7231.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/easy_codec/codec-g7231.c b/plugins/easy_codec/codec-g7231.c index dcfa8923f1..49ba9424d3 100644 --- a/plugins/easy_codec/codec-g7231.c +++ b/plugins/easy_codec/codec-g7231.c @@ -41,15 +41,15 @@ struct g7231_context { }; void *codec_g7231_init(void) { - g7231_context *ctx = 0; + struct g7231_context *ctx = 0; - ctx = (g7231_context*)g_malloc0(sizeof(g7231_context)); + ctx = (struct g7231_context*)g_malloc0(sizeof(struct g7231_context)); ctx->handle = -1; return ctx; } void codec_g7231_release(void *context) { - g7231_context *ctx = (g7231_context*)context; + struct g7231_context *ctx = (struct g7231_context*)context; if (!ctx) return; EasyG7231_release_decoder(ctx->handle); @@ -57,7 +57,7 @@ void codec_g7231_release(void *context) { } int codec_g7231_decode(void *context, const void *input, int inputSizeBytes, void *output, int *outputSizeBytes) { - g7231_context *ctx = (g7231_context*)context; + struct g7231_context *ctx = (struct g7231_context*)context; const unsigned char *bitstream = (const unsigned char*)input; short *speech = (short*)output; int decodedBytes = 0; |