Commit 170824db authored by Warren Dukes's avatar Warren Dukes

put it back the way it was

git-svn-id: https://svn.musicpd.org/mpd/trunk@202 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent cc23d2e7
...@@ -501,13 +501,14 @@ int mp3Read(mp3DecodeData * data, Buffer * cb, DecoderControl * dc) { ...@@ -501,13 +501,14 @@ int mp3Read(mp3DecodeData * data, Buffer * cb, DecoderControl * dc) {
} }
} }
while((ret=decodeNextFrameHeader(data))==DECODE_CONT || if(data->muteFrame) {
ret==DECODE_SKIP); while((ret=decodeNextFrameHeader(data))==DECODE_CONT ||
if(ret==DECODE_OK && !data->muteFrame) { ret==DECODE_SKIP);
}
else {
while((ret=decodeNextFrame(data))==DECODE_CONT || while((ret=decodeNextFrame(data))==DECODE_CONT ||
ret==DECODE_SKIP); ret==DECODE_SKIP);
} }
if(ret==DECODE_SKIP) data->muteFrame = 1;
return ret; return ret;
} }
......
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