aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtp.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2008-03-31 09:49:58 +0000
committerLuca Abeni <lucabe72@email.it>2008-03-31 09:49:58 +0000
commit87cb06435941290c46b54ba19d8bb0729d5f59f2 (patch)
tree051e92ff456fc128a0f33cb38747bd9d0f904f0c /libavformat/rtp.c
parent19faa9f4697ae6161b9a89aa8f2b0c6a8b325be2 (diff)
downloadffmpeg-87cb06435941290c46b54ba19d8bb0729d5f59f2.tar.gz
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
Diffstat (limited to 'libavformat/rtp.c')
-rw-r--r--libavformat/rtp.c2
1 files changed, 1 insertions, 1 deletions
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;