aboutsummaryrefslogtreecommitdiffstats
path: root/rtp_pt.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-06-01 23:08:00 +0000
committerGuy Harris <guy@alum.mit.edu>2004-06-01 23:08:00 +0000
commit0330511cd1a65c6037eb985b0132efb469620069 (patch)
tree31c43d5e268f76df565357a65b6183580baaab38 /rtp_pt.h
parentd3b788f2474090845bbaacc3f0460f5449dfc21d (diff)
Don't define data variables in header files included by more than one
file - that keeps the variable from being shared, and also produces compiler warnings if the variable isn't used by all the files that include the header in question. svn path=/trunk/; revision=11067
Diffstat (limited to 'rtp_pt.h')
-rw-r--r--rtp_pt.h33
1 files changed, 2 insertions, 31 deletions
diff --git a/rtp_pt.h b/rtp_pt.h
index 1ac694a1c2..789054886b 100644
--- a/rtp_pt.h
+++ b/rtp_pt.h
@@ -1,7 +1,7 @@
/* rtp_pt.h
* Defines RTP payload types
*
- * $Id: rtp_pt.h,v 1.3 2004/06/01 21:40:41 etxrab Exp $
+ * $Id: rtp_pt.h,v 1.4 2004/06/01 23:08:00 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -62,35 +62,6 @@
#define PT_MP2T 33 /* RFC 2250 */
#define PT_H263 34 /* from Chunrong Zhu of Intel; see the Web page */
-static const value_string rtp_payload_type_vals[] =
-{
- { PT_PCMU, "ITU-T G.711 PCMU" },
- { PT_1016, "USA Federal Standard FS-1016" },
- { PT_G721, "ITU-T G.721" },
- { PT_GSM, "GSM 06.10" },
- { PT_G723, "ITU-T G.723" },
- { PT_DVI4_8000, "DVI4 8000 samples/s" },
- { PT_DVI4_16000, "DVI4 16000 samples/s" },
- { PT_LPC, "Experimental linear predictive encoding from Xerox PARC" },
- { PT_PCMA, "ITU-T G.711 PCMA" },
- { PT_G722, "ITU-T G.722" },
- { PT_L16_STEREO, "16-bit uncompressed audio, stereo" },
- { PT_L16_MONO, "16-bit uncompressed audio, monaural" },
- { PT_QCELP, "Qualcomm Code Excited Linear Predictive coding" },
- { PT_CN, "Comfort noise" },
- { PT_MPA, "MPEG-I/II Audio"},
- { PT_G728, "ITU-T G.728" },
- { PT_DVI4_11025, "DVI4 11025 samples/s" },
- { PT_DVI4_22050, "DVI4 22050 samples/s" },
- { PT_G729, "ITU-T G.729" },
- { PT_CELB, "Sun CellB video encoding" },
- { PT_JPEG, "JPEG-compressed video" },
- { PT_NV, "'nv' program" },
- { PT_H261, "ITU-T H.261" },
- { PT_MPV, "MPEG-I/II Video"},
- { PT_MP2T, "MPEG-II transport streams"},
- { PT_H263, "ITU-T H.263" },
- { 0, NULL },
-};
+ETH_VAR_IMPORT const value_string rtp_payload_type_vals[];
#endif