summaryrefslogtreecommitdiff
path: root/encoders
diff options
context:
space:
mode:
Diffstat (limited to 'encoders')
-rw-r--r--encoders/encoder_lame.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/encoders/encoder_lame.c b/encoders/encoder_lame.c
index 39dea94..bf3baff 100644
--- a/encoders/encoder_lame.c
+++ b/encoders/encoder_lame.c
@@ -15,10 +15,10 @@ static gboolean lame_encoder_init(gpointer *data) {
static gssize lame_encoder_encode(gpointer data, GInputStream *input,
GOutputStream *output) {
lame_global_flags *gfp = data;
- const inbuf_size = 0x400*8;
- const outbuf_size = 0x400*8;
- gchar inbuf[inbuf_size];
- gchar outbuf[inbuf_size];
+ const int inbuf_size = 0x400*8;
+ const int outbuf_size = 0x400*8;
+ unsigned char inbuf[inbuf_size];
+ unsigned char outbuf[inbuf_size];
int inbuf_read = g_input_stream_read(input, inbuf, inbuf_size, NULL, NULL);