aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/rtp_stream_dlg.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-26 22:29:42 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-26 22:29:42 +0000
commite16c1c8bcfe175d4634cda84bdedc8bb22834647 (patch)
treecfdda3b6a1852779d9f57f431b7fe3b2d34e4b42 /gtk/rtp_stream_dlg.c
parentc2e71cb70b4ab83de1753f4c1b037fa5be197662 (diff)
Get the RTP payload types from rtp_pt.h rather than defining them
ourselves. svn path=/trunk/; revision=8551
Diffstat (limited to 'gtk/rtp_stream_dlg.c')
-rw-r--r--gtk/rtp_stream_dlg.c40
1 files changed, 3 insertions, 37 deletions
diff --git a/gtk/rtp_stream_dlg.c b/gtk/rtp_stream_dlg.c
index a7761387ef..10b0e8a0c2 100644
--- a/gtk/rtp_stream_dlg.c
+++ b/gtk/rtp_stream_dlg.c
@@ -1,7 +1,7 @@
/* rtp_stream_dlg.c
* RTP streams summary addition for ethereal
*
- * $Id: rtp_stream_dlg.c,v 1.2 2003/09/26 02:09:44 guy Exp $
+ * $Id: rtp_stream_dlg.c,v 1.3 2003/09/26 22:29:42 guy Exp $
*
* Copyright 2003, Alcatel Business Systems
* By Lars Ruoff <lars.ruoff@gmx.net>
@@ -42,46 +42,12 @@
#include "main.h"
#include "compat_macros.h"
+#include "rtp_pt.h"
+
#include <string.h>
extern GtkWidget *main_display_filter_widget;
-
-/****************************************************************************/
-/*
- * RTP Payload types
- * Table B.2 / H.225.0
- * Also RFC 1890, and
- *
- * http://www.iana.org/assignments/rtp-parameters
- */
-#define PT_PCMU 0 /* RFC 1890 */
-#define PT_1016 1 /* RFC 1890 */
-#define PT_G721 2 /* RFC 1890 */
-#define PT_GSM 3 /* RFC 1890 */
-#define PT_G723 4 /* From Vineet Kumar of Intel; see the Web page */
-#define PT_DVI4_8000 5 /* RFC 1890 */
-#define PT_DVI4_16000 6 /* RFC 1890 */
-#define PT_LPC 7 /* RFC 1890 */
-#define PT_PCMA 8 /* RFC 1890 */
-#define PT_G722 9 /* RFC 1890 */
-#define PT_L16_STEREO 10 /* RFC 1890 */
-#define PT_L16_MONO 11 /* RFC 1890 */
-#define PT_QCELP 12 /* Qualcomm Code Excited Linear Predictive coding? */
-#define PT_CN 13 /* RFC 3389 */
-#define PT_MPA 14 /* RFC 1890, RFC 2250 */
-#define PT_G728 15 /* RFC 1890 */
-#define PT_DVI4_11025 16 /* from Joseph Di Pol of Sun; see the Web page */
-#define PT_DVI4_22050 17 /* from Joseph Di Pol of Sun; see the Web page */
-#define PT_G729 18
-#define PT_CELB 25 /* RFC 2029 */
-#define PT_JPEG 26 /* RFC 2435 */
-#define PT_NV 28 /* RFC 1890 */
-#define PT_H261 31 /* RFC 2032 */
-#define PT_MPV 32 /* RFC 2250 */
-#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" },