3 --- mpeg2dec/libvo/video_out_x11.c.orig Fri Jun 6 02:15:57 2003
4 +++ mpeg2dec/libvo/video_out_x11.c Sun Jan 25 00:03:30 2004
6 /* this would break the solaris port though :-/ */
8 /* fuck solaris, plug the leak! */
10 shmctl(instance->shminfo.shmid, IPC_RMID, 0);
13 /* XShmAttach fails on remote displays, so we have to catch this event */
20 + shmctl(instance->shminfo.shmid, IPC_RMID, 0);
22 return instance->shminfo.shmaddr;
30 + memset(instance, 0, sizeof(*instance));
32 instance->vo.setup = x11_setup;
33 return (vo_instance_t *) instance;
40 + memset(instance, 0, sizeof(*instance));
42 instance->vo.setup = xv_setup;
43 return (vo_instance_t *) instance;