aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-18 23:28:25 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-18 23:28:25 +0000
commitec19a53f23da015bf7df6d14c300319a9d181a11 (patch)
tree19b72e783ab6f2e3c94597268689e5b7628cea84 /src
parent6ea0ba392a3bc595e0612d5b53916dc2d564c71a (diff)
downloadmpd-ec19a53f23da015bf7df6d14c300319a9d181a11.tar.gz
mpd-ec19a53f23da015bf7df6d14c300319a9d181a11.tar.xz
mpd-ec19a53f23da015bf7df6d14c300319a9d181a11.zip
Fix VBR mp3 seek accuracy bug
git-svn-id: https://svn.musicpd.org/mpd/trunk@4399 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/inputPlugins/mp3_plugin.c2
1 files changed, 1 insertions, 1 deletions
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) {