aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/shout_ogg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/shout_ogg.c')
-rw-r--r--src/output/shout_ogg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/output/shout_ogg.c b/src/output/shout_ogg.c
index b7c7b6706..8b769e8c0 100644
--- a/src/output/shout_ogg.c
+++ b/src/output/shout_ogg.c
@@ -247,8 +247,9 @@ pcm16_to_ogg_buffer(float **dest, const int16_t *src,
dest[j][i] = *src++ / 32768.0;
}
-static int shout_ogg_encoder_encode(struct shout_data *sd,
- const char *chunk, size_t size)
+static int
+shout_ogg_encoder_encode(struct shout_data *sd,
+ const void *chunk, size_t size)
{
struct shout_buffer *buf = &sd->buf;
unsigned int samples;