changeset 3195:a859757a057b libavformat

Use the correct size for the enc_name field (removing the arbitrary "50" size)
author lucabe
date Mon, 31 Mar 2008 09:49:58 +0000
parents 96372faff5f2
children f1c709e64ed5
files rtp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtp.c	Mon Mar 31 09:48:04 2008 +0000
+++ b/rtp.c	Mon Mar 31 09:49:58 2008 +0000
@@ -32,7 +32,7 @@
 static const struct
 {
     int pt;
-    const char enc_name[50]; /* XXX: why 50 ? */
+    const char enc_name[6];
     enum CodecType codec_type;
     enum CodecID codec_id;
     int clock_rate;