From ec19a53f23da015bf7df6d14c300319a9d181a11 Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Tue, 18 Jul 2006 23:28:25 +0000 Subject: Fix VBR mp3 seek accuracy bug git-svn-id: https://svn.musicpd.org/mpd/trunk@4399 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputPlugins/mp3_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index 4ba2ee539..f7afd0b59 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -739,7 +739,7 @@ static int mp3Read(mp3DecodeData * data, OutputBuffer * cb, DecoderControl * dc, while(1) { skip = 0; while((ret = decodeNextFrameHeader(data, NULL, replayGainInfo))==DECODE_CONT && - !dc->stop && !dc->seek); + !dc->stop); if(ret==DECODE_BREAK || dc->stop || dc->seek) break; else if(ret==DECODE_SKIP) skip = 1; if(!data->muteFrame) { -- cgit v1.2.3