aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/easy_codec
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-10-05 21:34:19 -0400
committerBill Meier <wmeier@newsguy.com>2014-10-06 01:42:32 +0000
commit0111e461938d47efd1eb8dc17f135b93b253ab52 (patch)
tree9409d7bf28086b3fd230993210264df1e884ec5b /plugins/easy_codec
parent9e776a1ed114bb3982c061b41389143cb67b94de (diff)
plugins: Add editor modelines; Adjust whitespace as needed.
Change-Id: I36124f6021d46a228721bdc976f6b9fef1c8c088 Reviewed-on: https://code.wireshark.org/review/4488 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'plugins/easy_codec')
-rw-r--r--plugins/easy_codec/codec-g722.c12
-rw-r--r--plugins/easy_codec/codec-g7231.c26
-rw-r--r--plugins/easy_codec/codec-g729a.c12
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:
+ */