changeset 1002:cb33ddea6d31 trunk

[svn] Now the world can finally hear the last few seconds of the Atomic Betty song. Rejoice!
author chainsaw
date Tue, 02 May 2006 16:37:38 -0700
parents 9189b80b6bea
children 6100889b8f06
files Plugins/Input/musepack/libmpc.cpp
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/musepack/libmpc.cpp	Mon May 01 15:33:32 2006 -0700
+++ b/Plugins/Input/musepack/libmpc.cpp	Tue May 02 16:37:38 2006 -0700
@@ -739,11 +739,9 @@
                 mpcDecoder.isError = g_strdup_printf("[xmms-musepack] error from internal decoder on %s", filename);
                 return endThread(filename, input, true);
             }
-            else if (status == 0)
-            {
-                //mpcDecoder.isError = g_strdup_printf("[xmms-musepack] null output from internal decoder on %s", filename);
+            if (status == 0 && iPlaying == 0)
                 return endThread(filename, input, true);
-            }
+
             lockRelease();
 
             if(pluginConfig.dynamicBitrate)