Fix VBR mp3 seek accuracy bug
git-svn-id: https://svn.musicpd.org/mpd/trunk@4399 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
6ea0ba392a
commit
ec19a53f23
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user