decoder: fixed typo in assertion

decoder_file_decode() should check for plugin->file_decode, not
plugin->stream_decode().
This commit is contained in:
Max Kellermann 2008-11-11 21:23:30 +01:00
parent 0cba1ae312
commit 401e77b258

View File

@ -57,7 +57,7 @@ decoder_file_decode(const struct decoder_plugin *plugin,
struct decoder *decoder, const char *path)
{
assert(plugin != NULL);
assert(plugin->stream_decode != NULL);
assert(plugin->file_decode != NULL);
assert(decoder != NULL);
assert(!decoder->stream_tag_sent);
assert(path != NULL);