From: Tsuda Kageyu Date: Tue, 24 Nov 2015 15:12:18 +0000 (+0900) Subject: Small cosmetic fixes. X-Git-Tag: v1.11beta~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66dd0b8a6fd750a9e137137773bbcb24b3a7636f;p=taglib Small cosmetic fixes. --- diff --git a/taglib/mp4/mp4atom.cpp b/taglib/mp4/mp4atom.cpp index 681589d8..1a5c3208 100644 --- a/taglib/mp4/mp4atom.cpp +++ b/taglib/mp4/mp4atom.cpp @@ -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;