diff options
-rw-r--r-- | encoders/encoder_lame.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/encoders/encoder_lame.c b/encoders/encoder_lame.c index b28e52e..39dea94 100644 --- a/encoders/encoder_lame.c +++ b/encoders/encoder_lame.c @@ -25,9 +25,7 @@ static gssize lame_encoder_encode(gpointer data, GInputStream *input, int ret = lame_encode_buffer_interleaved(gfp, (short*)inbuf, inbuf_read / 4, outbuf, outbuf_size); - g_output_stream_write(output, outbuf, ret, NULL, NULL); - - return ret; + return g_output_stream_write(output, outbuf, ret, NULL, NULL); } static void lame_encoder_close(gpointer data) { |