From 66dd0b8a6fd750a9e137137773bbcb24b3a7636f Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Wed, 25 Nov 2015 00:12:18 +0900 Subject: [PATCH] Small cosmetic fixes. --- taglib/mp4/mp4atom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.40.0