summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-28 21:06:45 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-28 21:06:45 +0000
commit944b5d2acd1fd5a21dcd66f37bb8907784318cc5 (patch)
tree6e2c67a0268983ae71bf3b5809ee8d848b887449 /libmpcodecs
parentdc992ababdbe865cda61a21d21c793a97a088f32 (diff)
downloadmpv-944b5d2acd1fd5a21dcd66f37bb8907784318cc5.tar.bz2
mpv-944b5d2acd1fd5a21dcd66f37bb8907784318cc5.tar.xz
Define profiles_t as const to fix a warning. Prevent profiles[] from been exported.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24649 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ve_xvid4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ve_xvid4.c b/libmpcodecs/ve_xvid4.c
index 5e52c93489..e5e7078b21 100644
--- a/libmpcodecs/ve_xvid4.c
+++ b/libmpcodecs/ve_xvid4.c
@@ -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@l w h fps obj Tvmv vmv vcv ac% vbv pkt bps vbv_peak dbf flags */
/* unrestricted profile (default) */