small test, but this resync thing doesn't work well
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6305 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
df016bba35
commit
6e2ff16018
@ -224,6 +224,8 @@ mp3Decoder::DecodeNextChunk()
|
||||
|
||||
// resync after a seek
|
||||
if (fNeedSync) {
|
||||
if (chunkSize > 4 && GetFrameLength(chunkBuffer) > 0) {
|
||||
} else
|
||||
if (chunkSize > 5200) { // mp3 reader always delivers synced frames smaller than 5200 bytes
|
||||
// wav reader and others don't do that
|
||||
while (chunkSize > 100) {
|
||||
|
Loading…
Reference in New Issue
Block a user