From 401e77b258ff549b71a7fcaedf152f2e4e80612c Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Tue, 11 Nov 2008 21:23:30 +0100
Subject: [PATCH] decoder: fixed typo in assertion

decoder_file_decode() should check for plugin->file_decode, not
plugin->stream_decode().
---
 src/decoder_thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);