Update of /cvsroot/mplayer/main/libvo In directory mail:/var/tmp.root/cvs-serv4536/libvo Modified Files: vo_xv.c Log Message: compiler warning fixes by Dominik Index: vo_xv.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v retrieving revision 1.124 retrieving revision 1.125 diff -u -r1.124 -r1.125 --- vo_xv.c 16 Oct 2002 22:53:18 -0000 1.124 +++ vo_xv.c 22 Oct 2002 16:24:26 -0000 1.125 @@ -466,7 +466,7 @@ } if ( Shmem_Flag ) { - xvimage[foo] = XvShmCreateImage(mDisplay, xv_port, xv_format, 0, image_width, image_height, &Shminfo[foo]); + xvimage[foo] = (XvImage *) XvShmCreateImage(mDisplay, xv_port, xv_format, NULL, image_width, image_height, &Shminfo[foo]); Shminfo[foo].shmid = shmget(IPC_PRIVATE, xvimage[foo]->data_size, IPC_CREAT | 0777); Shminfo[foo].shmaddr = (char *) shmat(Shminfo[foo].shmid, 0, 0); @@ -480,7 +480,7 @@ else #endif { - xvimage[foo] = XvCreateImage(mDisplay, xv_port, xv_format, 0, image_width, image_height); + xvimage[foo] = (XvImage *) XvCreateImage(mDisplay, xv_port, xv_format, NULL, image_width, image_height); xvimage[foo]->data = malloc(xvimage[foo]->data_size); XSync(mDisplay,False); }
participants (1)
-
Arpi of Ize