aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-08-03 02:45:23 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-08-03 02:45:23 +0000
commit15c2aa765a864e05eea5ef7eb570701b3be62d87 (patch)
tree357d3b44c4186ddb7ec77bee538e9c2bd6adef59
parent7ad533cca5136ab94de00078ff7b95791b3d7671 (diff)
downloadmpd-15c2aa765a864e05eea5ef7eb570701b3be62d87.tar.gz
mpd-15c2aa765a864e05eea5ef7eb570701b3be62d87.tar.xz
mpd-15c2aa765a864e05eea5ef7eb570701b3be62d87.zip
Undoing more indent silliness
git-svn-id: https://svn.musicpd.org/mpd/trunk@4536 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/tag.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/tag.c b/src/tag.c
index 8a6846d94..c847ceaea 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -224,8 +224,7 @@ static int getId3v2FooterSize(FILE * stream, long offset, int whence)
int bufsize;
bufsize = fillBuffer(buf, ID3_TAG_QUERYSIZE, stream, offset, whence);
- if (bufsize <= 0)
- return 0;
+ if (bufsize <= 0) return 0;
return id3_tag_query(buf, bufsize);
}
#endif
@@ -242,13 +241,11 @@ static struct id3_tag *getId3Tag(FILE * stream, long offset, int whence)
/* It's ok if we get less than we asked for */
bufsize = fillBuffer(buf, ID3_TAG_BUFLEN, stream, offset, whence);
- if (bufsize <= 0)
- return NULL;
+ if (bufsize <= 0) return NULL;
/* Look for a tag header */
tagsize = id3_tag_query((const id3_byte_t *)buf, bufsize);
- if (tagsize <= 0)
- return NULL;
+ if (tagsize <= 0) return NULL;
if (tagsize <= bufsize) {
/* Got an id3 tag, and it fits in buf */
@@ -256,8 +253,7 @@ static struct id3_tag *getId3Tag(FILE * stream, long offset, int whence)
} else {
/* Got an id3tag that overflows buf, so get a new one */
mbuf = malloc(tagsize);
- if (!mbuf)
- return NULL;
+ if (!mbuf) return NULL;
mbufsize = fillBuffer(mbuf, tagsize, stream, offset, whence);
if (mbufsize < tagsize) {