mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Silly second declaration of the variable here that triggers an infinite
loop in some cases (I'm surprised that it doesn't happen in more...this code has been around for a while.). BUG:113437 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@464483 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
603068695c
commit
5bb7dbe457
@ -450,7 +450,7 @@ long MPEG::File::nextFrameOffset(long position)
|
||||
|
||||
while(buffer.size() > 0) {
|
||||
seek(position);
|
||||
ByteVector buffer = readBlock(bufferSize());
|
||||
buffer = readBlock(bufferSize());
|
||||
|
||||
for(uint i = 0; i < buffer.size(); i++) {
|
||||
if(uchar(buffer[i]) == 0xff && secondSynchByte(buffer[i + 1]))
|
||||
|
Loading…
Reference in New Issue
Block a user