aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-30 06:09:28 +0100
committerMax Kellermann <max@duempel.org>2008-10-30 06:09:28 +0100
commitd29bad441066919f808c4ad1657bc5600fd9bd45 (patch)
treefbf3ea6109b72099a8567c919e94789130b540a1 /src/decoder_api.c
parentf8722913cf2f9d88cdc20a022c81d131c1728b17 (diff)
downloadmpd-d29bad441066919f808c4ad1657bc5600fd9bd45.tar.gz
mpd-d29bad441066919f808c4ad1657bc5600fd9bd45.tar.xz
mpd-d29bad441066919f808c4ad1657bc5600fd9bd45.zip
mp3: make mp3_read() return bool
Its only caller in mp3_decode() just compared its value with DECODE_BREAK. Convert that to bool, and return false if the loop should be ended. Also eliminate some superfluous command checking code, which was already done in the preceding while loop.
Diffstat (limited to 'src/decoder_api.c')
0 files changed, 0 insertions, 0 deletions