[MPlayer-cvslog] r24649 - trunk/libmpcodecs/ve_xvid4.c

iive subversion at mplayerhq.hu
Fri Sep 28 23:06:45 CEST 2007


Author: iive
Date: Fri Sep 28 23:06:45 2007
New Revision: 24649

Log:
Define profiles_t as const to fix a warning. Prevent profiles[] from been exported.


Modified:
   trunk/libmpcodecs/ve_xvid4.c

Modified: trunk/libmpcodecs/ve_xvid4.c
==============================================================================
--- trunk/libmpcodecs/ve_xvid4.c	(original)
+++ trunk/libmpcodecs/ve_xvid4.c	Fri Sep 28 23:06:45 2007
@@ -81,7 +81,7 @@
 #define PROFILE_S   (PROFILE_4MV)
 #define PROFILE_AS  (PROFILE_4MV|PROFILE_ADAPTQUANT|PROFILE_BVOP|PROFILE_MPEGQUANT|PROFILE_INTERLACE|PROFILE_QPEL|PROFILE_GMC)
 
-typedef struct
+typedef const struct
 {
 	char *name;                  ///< profile name
 	int id;                      ///< mpeg-4 profile id; iso/iec 14496-2:2001 table G-1
@@ -105,7 +105,7 @@ typedef struct
 
 /* default vbv_occupancy is (64/170)*vbv_buffer_size */
 
-const profile_t profiles[] =
+static profile_t profiles[] =
 {
 	/*   name               p at l    w    h    fps  obj Tvmv  vmv     vcv  ac%   vbv        pkt     bps    vbv_peak dbf  flags */
 	/* unrestricted profile (default) */



More information about the MPlayer-cvslog mailing list