From d3479018db4c8d61b2dca497a547615f02c2a42d Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 7 Nov 2019 15:28:50 +0100 Subject: stream: change buffer argument types from char* to void* This is slightly better, although not much, and ultimately doesn't matter. The public API in stream_cb.h also uses char*, but can't change that. --- stream/stream_dvdnav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream/stream_dvdnav.c') diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index b4b0dc21b2..d5090cfa69 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -257,7 +257,7 @@ static int mp_dvdnav_number_of_subs(stream_t *stream) return n; } -static int fill_buffer(stream_t *s, char *buf, int max_len) +static int fill_buffer(stream_t *s, void *buf, int max_len) { struct priv *priv = s->priv; dvdnav_t *dvdnav = priv->dvdnav; -- cgit v1.2.3