summaryrefslogtreecommitdiffstats
path: root/stream/stream_cdda.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-07 15:28:50 +0100
committerwm4 <wm4@nowhere>2019-11-07 22:53:13 +0100
commitd3479018db4c8d61b2dca497a547615f02c2a42d (patch)
treefcedb02bdd42538337d540311bca4fe4c852f089 /stream/stream_cdda.c
parentf850d82e656a9add1bd286f901f18c5213580606 (diff)
downloadmpv-d3479018db4c8d61b2dca497a547615f02c2a42d.tar.bz2
mpv-d3479018db4c8d61b2dca497a547615f02c2a42d.tar.xz
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.
Diffstat (limited to 'stream/stream_cdda.c')
-rw-r--r--stream/stream_cdda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index ed7725107b..cc1c7646a3 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -153,7 +153,7 @@ static void cdparanoia_callback(long int inpos, paranoia_cb_mode_t function)
{
}
-static int fill_buffer(stream_t *s, char *buffer, int max_len)
+static int fill_buffer(stream_t *s, void *buffer, int max_len)
{
cdda_priv *p = (cdda_priv *)s->priv;
int16_t *buf;