fix a booboo

git-svn-id: https://svn.musicpd.org/mpd/trunk@204 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-03-05 13:25:39 +00:00
parent 1cf07bfa40
commit a8d3895e32
1 changed files with 2 additions and 2 deletions

View File

@ -506,10 +506,10 @@ int mp3Read(mp3DecodeData * data, Buffer * cb, DecoderControl * dc) {
skip = 0;
while((ret = decodeNextFrameHeader(data))==DECODE_CONT);
if(ret==DECODE_SKIP) skip = 1;
else if(ret==DECODE_BREAK) return -1;
else if(ret==DECODE_BREAK) break;
if(data->muteFrame) {
while((ret = decodeNextFrame(data))==DECODE_CONT);
if(ret==DECODE_BREAK) return -1;
if(ret==DECODE_BREAK) break;
}
if(!skip && ret==DECODE_OK) break;
}