diff options
Diffstat (limited to 'decoder.c')
-rw-r--r-- | decoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,16 +1,16 @@ #include "decoder.h" gboolean decoder_init(struct decoder *decoder) { - return decoder->decoder->init(&(decoder->data)); + return decoder->decoder->init(decoder); } gssize decoder_decode(struct decoder *decoder, GInputStream *input, GOutputStream *output, GError **error) { - return decoder->decoder->decode(decoder->data, input, output, error); + return decoder->decoder->decode(decoder, input, output, error); } void decoder_close(struct decoder *decoder) { - decoder->decoder->close(decoder->data); + decoder->decoder->close(decoder); } extern const struct decoder_plugin decoder_mpg123_decoder; |