diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder_internal.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/decoder_internal.c b/src/decoder_internal.c index cc4d4419f..b376a5755 100644 --- a/src/decoder_internal.c +++ b/src/decoder_internal.c @@ -37,10 +37,16 @@ static bool decoder_input_buffer(struct decoder_control *dc, struct input_stream *is) { + GError *error = NULL; int ret; decoder_unlock(dc); - ret = input_stream_buffer(is); + ret = input_stream_buffer(is, &error); + if (ret < 0) { + g_warning("%s", error->message); + g_error_free(error); + } + decoder_lock(dc); return ret > 0; |