OSDN Git Service

Use the correct size for the enc_name field (removing the arbitrary "50" size)
authorLuca Abeni <lucabe72@email.it>
Mon, 31 Mar 2008 09:49:58 +0000 (09:49 +0000)
committerLuca Abeni <lucabe72@email.it>
Mon, 31 Mar 2008 09:49:58 +0000 (09:49 +0000)
Originally committed as revision 12645 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtp.c

index 29b58f3..5f45afb 100644 (file)
@@ -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;