[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:       2006-05-08 20:08:37
Message-ID: 1147118917.475266.29956.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 538764 by wheeler:

Patch from John Stirling to fix bitmasks for header fields.

BUG:70649


 M  +2 -2      xingheader.cpp  


--- trunk/kdesupport/taglib/mpeg/xingheader.cpp #538763:538764
@@ -94,12 +94,12 @@
   // If the XingHeader doesn't contain the number of frames and the total stream
   // info it's invalid.
 
-  if(!(data[7] & 0x02)) {
+  if(!(data[7] & 0x01)) {
     debug("MPEG::XingHeader::parse() -- Xing header doesn't contain the total number of frames.");
     return;
   }
 
-  if(!(data[7] & 0x04)) {
+  if(!(data[7] & 0x02)) {
     debug("MPEG::XingHeader::parse() -- Xing header doesn't contain the total stream size.");
     return;
   }
[prev in list] [next in list] [prev in thread] [next in thread] 

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