summaryrefslogtreecommitdiff
path: root/src/input/input_pvr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/input_pvr.c')
-rw-r--r--src/input/input_pvr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input/input_pvr.c b/src/input/input_pvr.c
index b8baffdbe..84b8468db 100644
--- a/src/input/input_pvr.c
+++ b/src/input/input_pvr.c
@@ -98,7 +98,7 @@
#include <time.h>
#include <pthread.h>
#include <sys/ioctl.h>
-#include "videodev2.h"
+#include <linux/videodev2.h>
#define XINE_ENABLE_EXPERIMENTAL_FEATURES
@@ -421,8 +421,9 @@ static uint32_t pvr_plugin_get_capabilities (input_plugin_t *this_gen) {
}
-static off_t pvr_plugin_read (input_plugin_t *this_gen, char *buf, off_t len) {
+static off_t pvr_plugin_read (input_plugin_t *this_gen, void *buf_gen, off_t len) {
/*pvr_input_plugin_t *this = (pvr_input_plugin_t *) this_gen;*/
+ char *buf = (char *)buf_gen;
/* FIXME: Tricking the demux_mpeg_block plugin */
buf[0] = 0;