decoder: fixed typo in assertion
decoder_file_decode() should check for plugin->file_decode, not plugin->stream_decode().
This commit is contained in:
parent
0cba1ae312
commit
401e77b258
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user