diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-22 16:24:26 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-22 16:24:26 +0000 |
commit | 4a3d6d4205035f681ef972afaf7ba8864937e570 (patch) | |
tree | 045898ae3f6b6cf3939194d8b060e05ddaa7dd0b /libvo | |
parent | 3dad4315a4ac8439401dc179624ab7794f12d542 (diff) | |
download | mpv-4a3d6d4205035f681ef972afaf7ba8864937e570.tar.bz2 mpv-4a3d6d4205035f681ef972afaf7ba8864937e570.tar.xz |
compiler warning fixes by Dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7849 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_xv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 32601233cb..ae27c7097f 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -466,7 +466,7 @@ static void allocate_xvimage(int foo) } 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 @@ static void allocate_xvimage(int foo) 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); } |