Commit a8d3895e authored by Warren Dukes's avatar Warren Dukes

fix a booboo

git-svn-id: https://svn.musicpd.org/mpd/trunk@204 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 1cf07bfa
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment