Add RCS IDs, introductory comments, and multiple-include protection.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 4 Sep 2006 23:21:52 +0000 (23:21 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 4 Sep 2006 23:21:52 +0000 (23:21 +0000)
Remove extra blank lines.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19142 f5534014-38df-0310-8fa8-9805f1628bb7

codecs/G711a/G711adecode.c
codecs/G711a/G711adecode.h
codecs/G711a/G711atable.h
codecs/G711u/G711udecode.c
codecs/G711u/G711udecode.h
codecs/G711u/G711utable.h

index b427250a64f0c94bf9ee8b57ec7f9b88e7fd9644..3461b70836dbd4c9fe034d33ece8cd396fddd138 100644 (file)
@@ -1,3 +1,27 @@
+/* G711adecode.c
+ * A-law G.711 codec
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+
 #include <glib.h>
 #include "G711adecode.h"
 #include "G711atable.h"
@@ -16,4 +40,3 @@ decodeG711a(void *input, int inputSizeBytes, void *output, int *outputSizeBytes)
   *outputSizeBytes = inputSizeBytes * 2;
   return 0;
 }
-
index d680731096c23f06cfec4804dcac31654a8b5ac8..c3d6bf2bab70efe37fb0fb0dfe664be94ae72f44 100644 (file)
@@ -1,3 +1,31 @@
+/* G711adecode.h
+ * Definitions for A-law G.711 codec
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+
+#ifndef __CODECS_G711ADECODE_H__
+#define __CODECS_G711ADECODE_H__
+
 int
 decodeG711a(void *input, int inputSizeBytes, void *output, int *outputSizeBytes);
 
+#endif /* G711adecode.h */
index a8d8999d3f7ecb72d46aafec9b0168ab987f01a8..294f50b115165dbe0be7b52ec9f5bd56bc1efad7 100644 (file)
@@ -1,4 +1,26 @@
-
+/* G711atable.h
+ * Exponent table for A-law G.711 codec
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
 
 gint16 alaw_exp_table[256] = {
          -5504, -5248, -6016, -5760, -4480, -4224, -4992, -4736,
@@ -33,6 +55,3 @@ gint16 alaw_exp_table[256] = {
           1888,  1824,  2016,  1952,  1632,  1568,  1760,  1696,
            688,   656,   752,   720,   560,   528,   624,   592,
            944,   912,  1008,   976,   816,   784,   880,   848};
-
-
-
index 2ac3c8fd851eb68972232ba86392042f3041a6a7..d453cdd4d976eeefdd6b75bd2281dbac419a53ee 100644 (file)
@@ -1,3 +1,27 @@
+/* G711udecode.c
+ * mu-law G.711 codec
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+
 #include <glib.h>
 #include "G711udecode.h"
 #include "G711utable.h"
@@ -16,4 +40,3 @@ decodeG711u(void *input, int inputSizeBytes, void *output, int *outputSizeBytes)
   *outputSizeBytes = inputSizeBytes * 2;
   return 0;
 }
-
index 8c70f121f91b445732f3d3043f466ae3a2755aeb..30eeefd543d23932c8f3ee52eaa859990002ee97 100644 (file)
@@ -1,5 +1,31 @@
-int
-decodeG711u(void *input, int inputSizeBytes, void *output, int *outputSizeBytes);
+/* G711udecode.h
+ * Definitions for mu-law G.711 codec
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
 
+#ifndef __CODECS_G711UDECODE_H__
+#define __CODECS_G711UDECODE_H__
 
+int
+decodeG711u(void *input, int inputSizeBytes, void *output, int *outputSizeBytes);
 
+#endif /* G711udecode.h */
index 5a75a29c8b058bcf21ec82edbaf46012dd5e86d4..d371491436e54f941580c7beef3888268cecaa2c 100644 (file)
@@ -1,4 +1,26 @@
-
+/* G711utable.h
+ * Exponent table for mu-law G.711 codec
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
 
 gint16 ulaw_exp_table[256] = {
    -32124,-31100,-30076,-29052,-28028,-27004,-25980,-24956,
@@ -33,6 +55,3 @@ gint16 ulaw_exp_table[256] = {
       244,   228,   212,   196,   180,   164,   148,   132,
       120,   112,   104,    96,    88,    80,    72,    64,
        56,    48,    40,    32,    24,    16,     8,     0};
-
-
-