freebsd-ports/multimedia/mplayer/files/patch-stream_tvi__v4l.c
Thomas Zander 6ea8dbba59 - Update to recent mplayer snapshot (2015-08-22)
- Unbundle ffmpeg and use the distfile from multimedia/ffmpeg
  (currently on version 2.7.2)
- Fix edge case assertion in av_free on 9.x/i386 upon stream close
  with mencoder (no change in behaviour)
- Include LICENSE_FILE
- Pet portlint
2015-08-23 16:41:23 +00:00

17 lines
386 B
C

--- stream/tvi_v4l.c.orig 2013-03-17 22:47:17 UTC
+++ stream/tvi_v4l.c
@@ -65,6 +65,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);
const tvi_info_t tvi_info_v4l = {