mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
Format mapping table should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25267 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
15cddcd511
commit
d055e97911
@ -268,7 +268,7 @@ static void freeMyXImage(void)
|
|||||||
#define BO_NATIVE LSBFirst
|
#define BO_NATIVE LSBFirst
|
||||||
#define BO_NONNATIVE MSBFirst
|
#define BO_NONNATIVE MSBFirst
|
||||||
#endif
|
#endif
|
||||||
struct fmt2Xfmtentry_s {
|
const struct fmt2Xfmtentry_s {
|
||||||
uint32_t mpfmt;
|
uint32_t mpfmt;
|
||||||
int byte_order;
|
int byte_order;
|
||||||
unsigned red_mask;
|
unsigned red_mask;
|
||||||
@ -316,7 +316,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
|
|||||||
Colormap theCmap;
|
Colormap theCmap;
|
||||||
XSetWindowAttributes xswa;
|
XSetWindowAttributes xswa;
|
||||||
unsigned long xswamask;
|
unsigned long xswamask;
|
||||||
struct fmt2Xfmtentry_s *fmte = fmt2Xfmt;
|
const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt;
|
||||||
|
|
||||||
#ifdef HAVE_XF86VM
|
#ifdef HAVE_XF86VM
|
||||||
unsigned int modeline_width, modeline_height;
|
unsigned int modeline_width, modeline_height;
|
||||||
|
Loading…
Reference in New Issue
Block a user