]> granicus.if.org Git - taglib/commitdiff
Small cosmetic fixes.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Tue, 24 Nov 2015 15:12:18 +0000 (00:12 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Tue, 24 Nov 2015 15:12:18 +0000 (00:12 +0900)
taglib/mp4/mp4atom.cpp

index 681589d89a50b76d44a78f21b4bd7eff3268fa16..1a5c320872b0e28c2ef71315e820838f440581d7 100644 (file)
@@ -47,7 +47,7 @@ MP4::Atom::Atom(File *file)
 
   offset = file->tell();
   ByteVector header = file->readBlock(8);
-  if (header.size() != 8) {
+  if(header.size() != 8) {
     // The atom header must be 8 bytes long, otherwise there is either
     // trailing garbage or the file is truncated
     debug("MP4: Couldn't read 8 bytes of data for atom header");
@@ -96,7 +96,7 @@ MP4::Atom::Atom(File *file)
       while(file->tell() < offset + length) {
         MP4::Atom *child = new MP4::Atom(file);
         children.append(child);
-        if (child->length == 0)
+        if(child->length == 0)
           return;
       }
       return;