From adbabc59315056a9e4ab9784a1d61ffb7606b031 Mon Sep 17 00:00:00 2001 From: Brian West Date: Sun, 27 Jan 2008 02:47:51 +0000 Subject: [PATCH] white space cleanup git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7377 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/codecs/mod_gsm/mod_gsm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mod/codecs/mod_gsm/mod_gsm.c b/src/mod/codecs/mod_gsm/mod_gsm.c index 1d55014899..2fdcd6b7ca 100644 --- a/src/mod/codecs/mod_gsm/mod_gsm.c +++ b/src/mod/codecs/mod_gsm/mod_gsm.c @@ -39,6 +39,7 @@ struct gsm_context { gsm encoder; gsm decoder; }; + static switch_status_t switch_gsm_init(switch_codec_t *codec, switch_codec_flag_t flags, const switch_codec_settings_t *codec_settings) { struct gsm_context *context; @@ -57,6 +58,7 @@ static switch_status_t switch_gsm_init(switch_codec_t *codec, switch_codec_flag_ codec->private_info = context; return SWITCH_STATUS_SUCCESS; } + static switch_status_t switch_gsm_destroy(switch_codec_t *codec) { struct gsm_context *context = codec->private_info; @@ -69,6 +71,7 @@ static switch_status_t switch_gsm_destroy(switch_codec_t *codec) codec->private_info = NULL; return SWITCH_STATUS_SUCCESS; } + static switch_status_t switch_gsm_encode(switch_codec_t *codec, switch_codec_t *other_codec, void *decoded_data, uint32_t decoded_data_len, uint32_t decoded_rate, void *encoded_data, uint32_t * encoded_data_len, uint32_t * encoded_rate, unsigned int *flag) @@ -98,6 +101,7 @@ static switch_status_t switch_gsm_encode(switch_codec_t *codec, switch_codec_t * } return SWITCH_STATUS_SUCCESS; } + static switch_status_t switch_gsm_decode(switch_codec_t *codec, switch_codec_t *other_codec, void *encoded_data, uint32_t encoded_data_len, uint32_t encoded_rate, void *decoded_data, uint32_t * decoded_data_len, uint32_t * decoded_rate, unsigned int *flag) @@ -132,7 +136,6 @@ static switch_status_t switch_gsm_decode(switch_codec_t *codec, switch_codec_t * return SWITCH_STATUS_SUCCESS; } - /* Registration */ static switch_codec_implementation_t gsm_8k_implementation = { /*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,