Fix sndfile decoder.
authorCarl Hetherington <cth@carlh.net>
Tue, 31 Dec 2013 17:26:24 +0000 (17:26 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 31 Dec 2013 17:26:24 +0000 (17:26 +0000)
src/lib/sndfile_decoder.cc

index 432f73f0d66f5b30e6c8068a13266719cf9c197b..5bbd90633c38bd7ff9b8f5694b0d7cb0c302c775 100644 (file)
@@ -98,7 +98,7 @@ SndfileDecoder::pass ()
        _done += this_time;
        _remaining -= this_time;
 
-       return true;
+       return _remaining == 0;
 }
 
 int