diff options
-rw-r--r-- | decoders/decoder_mpg123.c | 4 | ||||
-rw-r--r-- | encoders/encoder_lame.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/decoders/decoder_mpg123.c b/decoders/decoder_mpg123.c index a7cf3d0..ea263f5 100644 --- a/decoders/decoder_mpg123.c +++ b/decoders/decoder_mpg123.c @@ -36,8 +36,8 @@ static gssize mpg123_decoder_decode(gpointer data, GInputStream *input, int ret; const int inbuf_size = 0x400*8; const int outbuf_size = 0x400*8; - char inbuf[inbuf_size]; - char outbuf[inbuf_size]; + unsigned char inbuf[inbuf_size]; + unsigned char outbuf[inbuf_size]; gsize inbuf_read = g_input_stream_read(input, inbuf, inbuf_size, NULL, NULL); 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); |