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:
Scott Wheeler 2005-09-27 14:34:32 +00:00
parent 603068695c
commit 5bb7dbe457

View File

@ -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]))