From 8690768dfd3ceece4f3d5f505d1716f645e030fc Mon Sep 17 00:00:00 2001 From: "epg@pretzelnet.org" <> Date: Thu, 1 Nov 2012 17:41:16 -0700 Subject: [PATCH] simple reindent --- taglib.cc | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/taglib.cc b/taglib.cc index 6aa8113..750bd87 100644 --- a/taglib.cc +++ b/taglib.cc @@ -34,28 +34,28 @@ taglib_apic(const char *mp3_path, const char *image_bytes, size_t image_len, return "taglib failed to return ID3v2"; } - bv = new TagLib::ByteVector (image_bytes, image_len); - if (bv == 0) { - return "new TagLib::ByteVector failed"; - } + bv = new TagLib::ByteVector (image_bytes, image_len); + if (bv == 0) { + return "new TagLib::ByteVector failed"; + } - p = new TagLib::ID3v2::AttachedPictureFrame; - if (p == 0) { - return "new TagLib::ID3v2::AttachedPictureFrame failed"; - } + p = new TagLib::ID3v2::AttachedPictureFrame; + if (p == 0) { + return "new TagLib::ID3v2::AttachedPictureFrame failed"; + } - /* Um, look at all these void-returning functions. I'm sure - * they can fail, i just have no way to detect it... */ - p->setType(TagLib::ID3v2::AttachedPictureFrame::FrontCover); - p->setMimeType(mime_type); - if (description_utf8 != 0) { - p->setDescription(description_utf8); - p->setTextEncoding(TagLib::String::UTF8); - } - p->setPicture(*bv); + /* Um, look at all these void-returning functions. I'm sure they can fail, + * i just have no way to detect it... */ + p->setType(TagLib::ID3v2::AttachedPictureFrame::FrontCover); + p->setMimeType(mime_type); + if (description_utf8 != 0) { + p->setDescription(description_utf8); + p->setTextEncoding(TagLib::String::UTF8); + } + p->setPicture(*bv); - // another void-returning function that i bet fails - t->addFrame(p); + // another void-returning function that i bet fails + t->addFrame(p); errno = 0; if (!f->save()) { -- 2.56.0