DecoderPlugin: move functions into the struct

This commit is contained in:
Max Kellermann
2013-10-21 20:36:34 +02:00
parent 875821f2ba
commit 13e9f18403
8 changed files with 98 additions and 127 deletions

View File

@@ -133,7 +133,7 @@ decoder_stream_decode(const DecoderPlugin &plugin,
decoder->dc.Unlock();
decoder_plugin_stream_decode(plugin, decoder, input_stream);
plugin.StreamDecode(*decoder, *input_stream);
decoder->dc.Lock();
@@ -162,7 +162,7 @@ decoder_file_decode(const DecoderPlugin &plugin,
decoder->dc.Unlock();
decoder_plugin_file_decode(plugin, decoder, path);
plugin.FileDecode(*decoder, path);
decoder->dc.Lock();