From: epg@pretzelnet.org <> Date: Fri, 2 Nov 2012 00:41:16 +0000 (-0700) Subject: simple reindent X-Git-Url: https://diplodocus.org/git/flac-archive/commitdiff_plain/8690768dfd3ceece4f3d5f505d1716f645e030fc?ds=sidebyside;hp=23621ee3c41bdec7e873eb42d864b4c7e884dc72 simple reindent --- 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()) {