Mercurial > mplayer.hg
view TOOLS/fastmem.sh @ 10621:9f4af7d95d87
this small patch allows to compile the file libmpdemux/tvi_v4l.c properly,
when the Linux is patched with the V4L2 patch, which automatically
includes <linux/videodev2.h> when you include <linux/videodev.h>.
It is necessary then to prevent <linux/time.h> from including (by defining
the _LINUX_TIME_H macro) in order to resolve some collisions and it is
also necessary to prevent the defining of "struct v4l2_capability" and
"VIDIOC_QUERYCAP" in libmpdemux/tvi_v4l.c, when they are allready defined
in the <linux/videodev2.h>.
Patch by Martin Drab <drab@kepler.fjfi.cvut.cz>, checked by Arpi.
author | diego |
---|---|
date | Fri, 15 Aug 2003 15:25:55 +0000 |
parents | 5983b3ef67b4 |
children | 15a7ea3fe2e0 |
line wrap: on
line source
sync sleep 2 ./fastmem-k6 sleep 2 ./fastmem-k7 sleep 2 ./fastmem-mmx sleep 2 ./fastmem-sse sleep 2 ./fastmem2-k6 sleep 2 ./fastmem2-k7 sleep 2 ./fastmem2-mmx sleep 2 ./fastmem2-sse sleep 2