[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/taglib/mpeg
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2005-09-27 14:34:34
Message-ID: 1127831674.643051.32592.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 464483 by wheeler:

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


 M  +1 -1      mpegfile.cpp  


--- trunk/kdesupport/taglib/mpeg/mpegfile.cpp #464482:464483
@@ -450,7 +450,7 @@
 
   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]))
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic