Mercurial > mplayer.hg
changeset 24629:36c574ac1008
Define profiles_t as const to fix a warning. Prevent profiles[] from been exported.
author | iive |
---|---|
date | Fri, 28 Sep 2007 21:06:45 +0000 |
parents | 51fabe21759f |
children | dcba95743b2f |
files | libmpcodecs/ve_xvid4.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_xvid4.c Fri Sep 28 19:32:18 2007 +0000 +++ b/libmpcodecs/ve_xvid4.c Fri Sep 28 21:06:45 2007 +0000 @@ -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 @@ /* default vbv_occupancy is (64/170)*vbv_buffer_size */ -const profile_t profiles[] = +static profile_t profiles[] = { /* name p@l w h fps obj Tvmv vmv vcv ac% vbv pkt bps vbv_peak dbf flags */ /* unrestricted profile (default) */