diff options
-rw-r--r-- | src/audioOutputs/audioOutput_alsa.c | 4 | ||||
-rw-r--r-- | src/audioOutputs/audioOutput_oss.c | 2 | ||||
-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 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c index 9aefb4be8..31601b37c 100644 --- a/src/audioOutputs/audioOutput_alsa.c +++ b/src/audioOutputs/audioOutput_alsa.c @@ -312,7 +312,7 @@ configure_hw: return 0; - error: +error: if (cmd) { ERROR("Error opening alsa device \"%s\" (%s): %s\n", ad->device, cmd, snd_strerror(-err)); @@ -320,7 +320,7 @@ configure_hw: ERROR("Error opening alsa device \"%s\": %s\n", ad->device, snd_strerror(-err)); } - fail: +fail: if (ad->pcmHandle) snd_pcm_close(ad->pcmHandle); ad->pcmHandle = NULL; diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c index d85dfd192..af6cd5dcf 100644 --- a/src/audioOutputs/audioOutput_oss.c +++ b/src/audioOutputs/audioOutput_oss.c @@ -487,7 +487,7 @@ static int oss_open(AudioOutput * audioOutput) return 0; - fail: +fail: oss_close(od); audioOutput->open = 0; return -1; 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; |