diff options
author | Max Kellermann <max@duempel.org> | 2008-11-11 21:23:30 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-11 21:23:30 +0100 |
commit | 401e77b258ff549b71a7fcaedf152f2e4e80612c (patch) | |
tree | 8fc227532d1949fe45551ef714657673484aa456 /src/decoder | |
parent | 0cba1ae312bb8dcf61078ce4109a9542c69cfe73 (diff) | |
download | mpd-401e77b258ff549b71a7fcaedf152f2e4e80612c.tar.gz mpd-401e77b258ff549b71a7fcaedf152f2e4e80612c.tar.xz mpd-401e77b258ff549b71a7fcaedf152f2e4e80612c.zip |
decoder: fixed typo in assertion
decoder_file_decode() should check for plugin->file_decode, not
plugin->stream_decode().
Diffstat (limited to '')
-rw-r--r-- | src/decoder_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c index 28dbcaa8e..f8ed86047 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -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); |