From ff626ac76357940b2f0ac5cb243a68ac13df0f8a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:48:38 +0200 Subject: *: use references instead of pointers --- test/run_decoder.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/run_decoder.cxx') diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx index 7efb9d906..9934429fc 100644 --- a/test/run_decoder.cxx +++ b/test/run_decoder.cxx @@ -184,7 +184,7 @@ int main(int argc, char **argv) decoder.initialized = false; if (decoder.plugin->file_decode != NULL) { - decoder_plugin_file_decode(decoder.plugin, &decoder, + decoder_plugin_file_decode(*decoder.plugin, &decoder, decoder.uri); } else if (decoder.plugin->stream_decode != NULL) { Mutex mutex; @@ -201,7 +201,7 @@ int main(int argc, char **argv) return 1; } - decoder_plugin_stream_decode(decoder.plugin, &decoder, is); + decoder_plugin_stream_decode(*decoder.plugin, &decoder, is); is->Close(); } else { -- cgit v1.2.3