From 87cb06435941290c46b54ba19d8bb0729d5f59f2 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Mon, 31 Mar 2008 09:49:58 +0000 Subject: Use the correct size for the enc_name field (removing the arbitrary "50" size) Originally committed as revision 12645 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtp.c') diff --git a/libavformat/rtp.c b/libavformat/rtp.c index 29b58f3eba..5f45afb0cb 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -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; -- cgit v1.2.3