mpd/src
Eric Wong 2cc59816a6 Simplify decode cleanup logic a bit
DECODE_STATE_STOP is always set as dc->state, and dc->stop
is always cleared.  So handle it in decodeStart once rather
than doing it in every plugin.

While we're at it, fix a long-standing (but difficult to
trigger) bug in mpc_decode where we failed to return
if mpc_decoder_initialize() fails.

git-svn-id: https://svn.musicpd.org/mpd/trunk@7122 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-01-01 10:09:56 +00:00
..
audioOutputs Know about SND_PCM_STATE_RUNNING, might fix some bugs 2007-12-16 15:46:54 +00:00
inputPlugins Simplify decode cleanup logic a bit 2008-01-01 10:09:56 +00:00
mp4ff Fix warnings for -Wmissing-prototypes 2006-08-20 00:50:44 +00:00
ack.h The massive copyright update 2007-04-05 03:22:33 +00:00
audio.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
audio.h The massive copyright update 2007-04-05 03:22:33 +00:00
audioOutput.c Tidying up some code. 2007-06-09 19:19:33 +00:00
audioOutput.h Adding FIFO audio output. This is pretty much identical to the old one, 2007-06-13 14:15:30 +00:00
buffer2array.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
buffer2array.h The massive copyright update 2007-04-05 03:22:33 +00:00
charConv.c charConv: tie the buffer size for iconv() to our PATH_MAX constant 2008-01-01 10:09:43 +00:00
charConv.h Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
command.c Playlist queue patch (http://musicpd.org/mantis/view.php?id=1478) version 11. 2007-09-26 08:25:35 +00:00
command.h The massive copyright update 2007-04-05 03:22:33 +00:00
compress.c The massive copyright update 2007-04-05 03:22:33 +00:00
compress.h The massive copyright update 2007-04-05 03:22:33 +00:00
conf.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
conf.h conf: improved boolean config parameter handling from -ke 2007-09-05 23:59:33 +00:00
dbUtils.c Committing pat's rewrite of the stored playlist code. This also adds two 2007-05-16 12:02:10 +00:00
dbUtils.h Adding count command. It's usage is identical to find, but instead of 2007-04-25 23:46:11 +00:00
decode.c Simplify decode cleanup logic a bit 2008-01-01 10:09:56 +00:00
decode.h Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
directory.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
directory.h Don't list playlists in lsinfo if the path isn't the root directory (they 2007-05-24 17:06:59 +00:00
gcc.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputPlugin.c Adding WavPack support. Patch courtesy Kodest. 2007-06-24 20:40:04 +00:00
inputPlugin.h Adding WavPack support. Patch courtesy Kodest. 2007-06-24 20:40:04 +00:00
inputStream_file.c The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream_file.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream_http.c Re-enable seeking in http streams. 2007-11-28 14:06:03 +00:00
inputStream_http.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream.c The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream.h The massive copyright update 2007-04-05 03:22:33 +00:00
interface.c interface: fix IPV6 hostname buffer deallocation from automatics 2007-09-01 12:20:49 +00:00
interface.h The massive copyright update 2007-04-05 03:22:33 +00:00
ioops.h Changing "//" comments to "/* */" comments. 2007-05-15 23:23:09 +00:00
list.c Playlist queue patch (http://musicpd.org/mantis/view.php?id=1478) version 11. 2007-09-26 08:25:35 +00:00
list.h Playlist queue patch (http://musicpd.org/mantis/view.php?id=1478) version 11. 2007-09-26 08:25:35 +00:00
listen.c Redirect stdin *before* we establish a listen socket 2007-09-05 01:19:37 +00:00
listen.h Removing the getBoundPort() function and just making boundPort an extern. 2007-06-01 17:44:03 +00:00
locate.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
locate.h Adding copyright headers to locate.[ch]. 2007-02-24 03:14:00 +00:00
log.c Redirect stdin *before* we establish a listen socket 2007-09-05 01:19:37 +00:00
log.h export FATAL() with noreturn attribute 2007-08-27 08:05:55 +00:00
ls.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
ls.h Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
main.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
Makefile.am Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
metadataChunk.c The massive copyright update 2007-04-05 03:22:33 +00:00
metadataChunk.h The massive copyright update 2007-04-05 03:22:33 +00:00
mpd_types.h Adding a null output plugin. 2007-05-30 16:52:56 +00:00
myfprintf.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
myfprintf.h The massive copyright update 2007-04-05 03:22:33 +00:00
normalize.c conf: improved boolean config parameter handling from -ke 2007-09-05 23:59:33 +00:00
normalize.h The massive copyright update 2007-04-05 03:22:33 +00:00
outputBuffer.c Make pcm_convertAudioFormat return the buffer size. This is necessary 2007-05-26 16:39:55 +00:00
outputBuffer.h Reverting to the full lsr API. Turns out the simple API needs all of the 2007-05-24 21:15:37 +00:00
path.c Make utf8_to_fs_playlist_path universally accessible 2008-01-01 10:07:34 +00:00
path.h Make utf8_to_fs_playlist_path universally accessible 2008-01-01 10:07:34 +00:00
pcm_utils.c pcm_utils: gcc 2.95 compile fix (extra semi-colon) 2007-09-10 07:12:37 +00:00
pcm_utils.h A better way to do the last patch (extremely minor patch) 2007-11-21 14:02:03 +00:00
permission.c Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single 2007-05-26 18:15:54 +00:00
permission.h The massive copyright update 2007-04-05 03:22:33 +00:00
player.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
player.h Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
playerData.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
playerData.h The massive copyright update 2007-04-05 03:22:33 +00:00
playlist.c storedPlaylist: remove the needless StoredPlaylist struct and just use List 2008-01-01 10:09:36 +00:00
playlist.h playlist: avoid the use of newStoredPlaylist for saving active playlists 2008-01-01 10:09:18 +00:00
replayGain.c replayGain: adding DEBUG messages when computing scale 2007-06-25 14:34:40 +00:00
replayGain.h The massive copyright update 2007-04-05 03:22:33 +00:00
sig_handlers.c removing debug messages from signal handlers 2007-08-27 21:18:35 +00:00
sig_handlers.h The massive copyright update 2007-04-05 03:22:33 +00:00
signal_check.c The massive copyright update 2007-04-05 03:22:33 +00:00
signal_check.h The massive copyright update 2007-04-05 03:22:33 +00:00
sllist.c The massive copyright update 2007-04-05 03:22:33 +00:00
sllist.h The massive copyright update 2007-04-05 03:22:33 +00:00
song.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
song.h Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
state_file.c export FATAL() with noreturn attribute 2007-08-27 08:05:55 +00:00
state_file.h The massive copyright update 2007-04-05 03:22:33 +00:00
stats.c The massive copyright update 2007-04-05 03:22:33 +00:00
stats.h The massive copyright update 2007-04-05 03:22:33 +00:00
storedPlaylist.c storedPlaylist: remove the needless StoredPlaylist struct and just use List 2008-01-01 10:09:36 +00:00
storedPlaylist.h storedPlaylist: remove the needless StoredPlaylist struct and just use List 2008-01-01 10:09:36 +00:00
tag.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
tag.h The massive copyright update 2007-04-05 03:22:33 +00:00
tagTracker.c The massive copyright update 2007-04-05 03:22:33 +00:00
tagTracker.h The massive copyright update 2007-04-05 03:22:33 +00:00
timer.c Redoing remiss's shout patch. This time, just block on open() instead of 2007-06-12 17:58:17 +00:00
timer.h Redoing remiss's shout patch. This time, just block on open() instead of 2007-06-12 17:58:17 +00:00
tree.c The massive copyright update 2007-04-05 03:22:33 +00:00
tree.h The massive copyright update 2007-04-05 03:22:33 +00:00
utf8.c Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
utf8.h Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
utils.c Revert r7111 and begin to properly fix storedPlaylist code 2008-01-01 03:01:24 +00:00
utils.h Merge branches/ew r7104 2007-12-28 02:56:25 +00:00
volume.c Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single 2007-05-26 18:15:54 +00:00
volume.h The massive copyright update 2007-04-05 03:22:33 +00:00
zeroconf.c conf: improved boolean config parameter handling from -ke 2007-09-05 23:59:33 +00:00
zeroconf.h The massive copyright update 2007-04-05 03:22:33 +00:00