diff options
Diffstat (limited to 'plugins/easy_codec')
-rw-r--r-- | plugins/easy_codec/codec-g722.c | 12 | ||||
-rw-r--r-- | plugins/easy_codec/codec-g7231.c | 26 | ||||
-rw-r--r-- | plugins/easy_codec/codec-g729a.c | 12 |
3 files changed, 43 insertions, 7 deletions
diff --git a/plugins/easy_codec/codec-g722.c b/plugins/easy_codec/codec-g722.c index fd7259816d..a2ab6d10b8 100644 --- a/plugins/easy_codec/codec-g722.c +++ b/plugins/easy_codec/codec-g722.c @@ -88,3 +88,15 @@ int codec_g722_decode(void *context, const void *input, int inputSizeBytes, void return decodedBytes; } +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local Variables: + * c-basic-offset: 2 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * ex: set shiftwidth=2 tabstop=8 expandtab: + * :indentSize=2:tabSize=8:noTabs=true: + */ diff --git a/plugins/easy_codec/codec-g7231.c b/plugins/easy_codec/codec-g7231.c index 79f8a30702..0a90218f9c 100644 --- a/plugins/easy_codec/codec-g7231.c +++ b/plugins/easy_codec/codec-g7231.c @@ -61,13 +61,13 @@ int codec_g7231_decode(void *context, const void *input, int inputSizeBytes, voi if (!ctx) return 0; if ( ctx->handle == -1) { - if ( bitstream[0] & 0x03 ) { - ctx->handle=EasyG7231_init_decoder(FALSE); - ctx->l_g7231_frame_compressed = L_G7231_FRAME_COMPRESSED_53; - } else { - ctx->handle=EasyG7231_init_decoder(TRUE); - ctx->l_g7231_frame_compressed = L_G7231_FRAME_COMPRESSED_63; - } + if ( bitstream[0] & 0x03 ) { + ctx->handle=EasyG7231_init_decoder(FALSE); + ctx->l_g7231_frame_compressed = L_G7231_FRAME_COMPRESSED_53; + } else { + ctx->handle=EasyG7231_init_decoder(TRUE); + ctx->l_g7231_frame_compressed = L_G7231_FRAME_COMPRESSED_63; + } } if ((inputSizeBytes % ctx->l_g7231_frame_compressed) != 0) @@ -93,3 +93,15 @@ int codec_g7231_decode(void *context, const void *input, int inputSizeBytes, voi return decodedBytes; } +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local Variables: + * c-basic-offset: 2 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * ex: set shiftwidth=2 tabstop=8 expandtab: + * :indentSize=2:tabSize=8:noTabs=true: + */ diff --git a/plugins/easy_codec/codec-g729a.c b/plugins/easy_codec/codec-g729a.c index 48be1dfccc..2a5efac2c7 100644 --- a/plugins/easy_codec/codec-g729a.c +++ b/plugins/easy_codec/codec-g729a.c @@ -79,3 +79,15 @@ int codec_g729a_decode(void *context, const void *input, int inputSizeBytes, voi return decodedBytes; } +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local Variables: + * c-basic-offset: 2 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * ex: set shiftwidth=2 tabstop=8 expandtab: + * :indentSize=2:tabSize=8:noTabs=true: + */ |