comparison rtp.c @ 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
comparison
equal deleted inserted replaced
3194:96372faff5f2 3195:a859757a057b
30 30
31 /* from http://www.iana.org/assignments/rtp-parameters last updated 05 January 2005 */ 31 /* from http://www.iana.org/assignments/rtp-parameters last updated 05 January 2005 */
32 static const struct 32 static const struct
33 { 33 {
34 int pt; 34 int pt;
35 const char enc_name[50]; /* XXX: why 50 ? */ 35 const char enc_name[6];
36 enum CodecType codec_type; 36 enum CodecType codec_type;
37 enum CodecID codec_id; 37 enum CodecID codec_id;
38 int clock_rate; 38 int clock_rate;
39 int audio_channels; 39 int audio_channels;
40 } AVRtpPayloadTypes[]= 40 } AVRtpPayloadTypes[]=