diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-02 20:43:35 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-02 20:43:35 +0000 |
commit | d055e97911a5ab85be9b67d81c63f1edf9610c07 (patch) | |
tree | 37262f5c036238a7f8af9618253b933034ce0149 /libvo/vo_x11.c | |
parent | 15cddcd5112b977e3316baa30fcb6dec25f78105 (diff) | |
download | mpv-d055e97911a5ab85be9b67d81c63f1edf9610c07.tar.bz2 mpv-d055e97911a5ab85be9b67d81c63f1edf9610c07.tar.xz |
Format mapping table should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25267 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r-- | libvo/vo_x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index e6eb1f3feb..fa892bdc37 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -268,7 +268,7 @@ static void freeMyXImage(void) #define BO_NATIVE LSBFirst #define BO_NONNATIVE MSBFirst #endif -struct fmt2Xfmtentry_s { +const struct fmt2Xfmtentry_s { uint32_t mpfmt; int byte_order; unsigned red_mask; @@ -316,7 +316,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, Colormap theCmap; XSetWindowAttributes xswa; unsigned long xswamask; - struct fmt2Xfmtentry_s *fmte = fmt2Xfmt; + const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt; #ifdef HAVE_XF86VM unsigned int modeline_width, modeline_height; |