diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-08-20 10:13:54 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-08-20 10:13:54 +0000 |
commit | ee223bf02b207d84cfbbccc614420fa14e1b3608 (patch) | |
tree | 19056e4d7b9d76ca2cbc709f4797d9b0aa03500d /src/inputPlugins | |
parent | f8b07de3d4deb4e11a2e803c7719d4d026524306 (diff) | |
download | mpd-ee223bf02b207d84cfbbccc614420fa14e1b3608.tar.gz mpd-ee223bf02b207d84cfbbccc614420fa14e1b3608.tar.xz mpd-ee223bf02b207d84cfbbccc614420fa14e1b3608.zip |
trivial: labels should be on the left-most column, no tabbing
Unfortunately there doesn't seem to be an indent switch for this,
but we have find + perl:
find src -name '*.[ch]' | xargs perl -i -p -e \
's/^\s+(\w+):/$1:/g unless /^\s+default:/'
This is a followup to r4605, and there are no actual code
changes in this.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4661 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/flac_plugin.c | 2 | ||||
-rw-r--r-- | src/inputPlugins/mp3_plugin.c | 4 | ||||
-rw-r--r-- | src/inputPlugins/oggflac_plugin.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index 342cc38c3..5a7568d91 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -175,7 +175,7 @@ static int flac_decode(OutputBuffer * cb, DecoderControl * dc, dc->state = DECODE_STATE_STOP; dc->stop = 0; - fail: +fail: if (data.replayGainInfo) freeReplayGainInfo(data.replayGainInfo); diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index f2329d25a..780a326ae 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -343,7 +343,7 @@ static void mp3_parseId3Tag(mp3DecodeData * data, signed long tagsize, } id3_tag_delete(id3Tag); - fail: +fail: if (allocated) free(allocated); } @@ -552,7 +552,7 @@ static int parse_xing(struct xing *xing, struct mad_bitptr *ptr, int *oldbitlen) *oldbitlen = bitlen; return 1; - fail: +fail: xing->flags = 0; return 0; } diff --git a/src/inputPlugins/oggflac_plugin.c b/src/inputPlugins/oggflac_plugin.c index 5ee2de7f0..83984e620 100644 --- a/src/inputPlugins/oggflac_plugin.c +++ b/src/inputPlugins/oggflac_plugin.c @@ -306,7 +306,7 @@ static OggFLAC__SeekableStreamDecoder return decoder; - fail: +fail: oggflacPrintErroredState(OggFLAC__seekable_stream_decoder_get_state (decoder)); OggFLAC__seekable_stream_decoder_delete(decoder); @@ -394,7 +394,7 @@ static int oggflac_decode(OutputBuffer * cb, DecoderControl * dc, dc->state = DECODE_STATE_STOP; dc->stop = 0; - fail: +fail: oggflac_cleanup(inStream, &data, decoder); return ret; |