summaryrefslogtreecommitdiff
path: root/multimedia/mplayer2/files/patch-stream-tvi_v4l.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer2/files/patch-stream-tvi_v4l.c')
-rw-r--r--multimedia/mplayer2/files/patch-stream-tvi_v4l.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/mplayer2/files/patch-stream-tvi_v4l.c b/multimedia/mplayer2/files/patch-stream-tvi_v4l.c
new file mode 100644
index 000000000000..f2ed47905057
--- /dev/null
+++ b/multimedia/mplayer2/files/patch-stream-tvi_v4l.c
@@ -0,0 +1,17 @@
+--- stream/tvi_v4l.c 2007-10-07 23:49:26.000000000 +0400
++++ stream/tvi_v4l.c 2010-01-27 13:42:17.781746063 +0300
+@@ -48,6 +48,14 @@
+
+ #include "audio_in.h"
+
++#include <libv4l1.h>
++#define open v4l1_open
++#define close v4l1_close
++#define dup v4l1_dup
++#define ioctl v4l1_ioctl
++#define mmap v4l1_mmap
++#define munmap v4l1_munmap
++
+ static tvi_handle_t *tvi_init_v4l(tv_param_t* tv_param);
+
+ tvi_info_t tvi_info_v4l = {