mirror of https://github.com/mpv-player/mpv
64bit incompatibility bug, patch by Artur Grabowski <art@blahonga.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6141 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
46914c1498
commit
d07b369a49
|
@ -594,10 +594,11 @@ int vo_x11_check_events(Display *mydisplay){
|
|||
{
|
||||
Window root;
|
||||
int foo;
|
||||
Window win;
|
||||
XGetGeometry(mydisplay, vo_window, &root, &foo, &foo,
|
||||
&foo/*width*/, &foo/*height*/, &foo, &foo);
|
||||
XTranslateCoordinates(mydisplay, vo_window, root, 0, 0,
|
||||
&vo_dx, &vo_dy, (Window *)&foo);
|
||||
&vo_dx, &vo_dy, &win);
|
||||
}
|
||||
#endif
|
||||
ret|=VO_EVENT_RESIZE;
|
||||
|
|
|
@ -407,7 +407,7 @@ static void yuv2rgb_c_init (int bpp, int mode)
|
|||
uint32_t *table_32 = 0;
|
||||
uint16_t *table_16 = 0;
|
||||
uint8_t *table_8 = 0;
|
||||
uint32_t entry_size = 0;
|
||||
int entry_size = 0;
|
||||
void *table_r = 0, *table_g = 0, *table_b = 0;
|
||||
|
||||
int crv = Inverse_Table_6_9[matrix_coefficients][0];
|
||||
|
|
Loading…
Reference in New Issue