aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-12-31 00:54:38 +0000
committerEric Wong <normalperson@yhbt.net>2007-12-31 00:54:38 +0000
commita4ed0a83584ca2ad8eb29927da17bc32d36b7272 (patch)
tree7f8ef8bc785a052f7e85be9028f461184d4a2a06
parent0d1a3539ad1d5fba353daf7bb4b08c6d8cbe83e6 (diff)
downloadmpd-a4ed0a83584ca2ad8eb29927da17bc32d36b7272.tar.gz
mpd-a4ed0a83584ca2ad8eb29927da17bc32d36b7272.tar.xz
mpd-a4ed0a83584ca2ad8eb29927da17bc32d36b7272.zip
ogg_common: fix indent screwup
git-svn-id: https://svn.musicpd.org/mpd/trunk@7109 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/_ogg_common.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/src/inputPlugins/_ogg_common.c b/src/inputPlugins/_ogg_common.c
index 32df2eb9a..ca68ae4f1 100644
--- a/src/inputPlugins/_ogg_common.c
+++ b/src/inputPlugins/_ogg_common.c
@@ -54,20 +54,11 @@ ogg_stream_type ogg_stream_type_detect(InputStream * inStream)
seekInputStream(inStream, 0, SEEK_SET);
- if (r >= 32 && memcmp(buf, "OggS", 4) == 0 && ((memcmp
- (buf + 29, "FLAC",
- 4) == 0
- && memcmp(buf + 37,
- "fLaC",
- 4) == 0)
- ||
- (memcmp
- (buf + 28, "FLAC",
- 4) == 0)
- ||
- (memcmp
- (buf + 28, "fLaC",
- 4) == 0))) {
+ if (r >= 32 && memcmp(buf, "OggS", 4) == 0 && (
+ (memcmp(buf+29, "FLAC", 4) == 0
+ && memcmp(buf+37, "fLaC", 4) == 0)
+ || (memcmp(buf+28, "FLAC", 4) == 0)
+ || (memcmp(buf+28, "fLaC", 4) == 0))) {
return FLAC;
}
return VORBIS;