[FFmpeg-cvslog] r12645 - trunk/libavformat/rtp.c

lucabe subversion
Mon Mar 31 11:49:59 CEST 2008


Author: lucabe
Date: Mon Mar 31 11:49:58 2008
New Revision: 12645

Log:
Use the correct size for the enc_name field (removing the arbitrary "50" size)


Modified:
   trunk/libavformat/rtp.c

Modified: trunk/libavformat/rtp.c
==============================================================================
--- trunk/libavformat/rtp.c	(original)
+++ trunk/libavformat/rtp.c	Mon Mar 31 11:49:58 2008
@@ -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;




More information about the ffmpeg-cvslog mailing list