*: use references instead of pointers

This commit is contained in:
Max Kellermann
2013-10-19 18:48:38 +02:00
parent 59f8144c50
commit ff626ac763
122 changed files with 1077 additions and 1083 deletions

View File

@@ -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 {