Commit 401e77b2 authored by Max Kellermann's avatar Max Kellermann

decoder: fixed typo in assertion

decoder_file_decode() should check for plugin->file_decode, not plugin->stream_decode().
parent 0cba1ae3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment