summaryrefslogtreecommitdiff
path: root/src/input/input_rtsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/input_rtsp.c')
-rw-r--r--src/input/input_rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_rtsp.c b/src/input/input_rtsp.c
index 48c50e6fa..f78762bcb 100644
--- a/src/input/input_rtsp.c
+++ b/src/input/input_rtsp.c
@@ -102,7 +102,7 @@ static buf_element_t *rtsp_plugin_read_block (input_plugin_t *this_gen,
buf->content = buf->mem;
buf->type = BUF_DEMUX_BLOCK;
- total_bytes = rtsp_plugin_read (this_gen, buf->content, todo);
+ total_bytes = rtsp_plugin_read (this_gen, (char*)buf->content, todo);
if (total_bytes != todo) {
buf->free_buffer (buf);