aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/oggflac_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-23 23:59:55 +0200
committerEric Wong <normalperson@yhbt.net>2008-09-29 01:58:44 -0700
commita748ea5a55f4f5d9f9d58b0e6c7667d61cfde501 (patch)
tree96eac268d20ee71a26cf5bdd818bb9498077f8fd /src/inputPlugins/oggflac_plugin.c
parent09edfb67ec85096ec148852e673f370d39b05b9d (diff)
downloadmpd-a748ea5a55f4f5d9f9d58b0e6c7667d61cfde501.tar.gz
mpd-a748ea5a55f4f5d9f9d58b0e6c7667d61cfde501.tar.xz
mpd-a748ea5a55f4f5d9f9d58b0e6c7667d61cfde501.zip
flac: merged flacSendChunk() into flac_common_write()
Since flacSendChunk() is a trivial function and is only used in one location, move the code there. The advantage is that calling decoder_data() directly returns the decoder_command value, so we can eliminate one decoder_get_command() call. [ew: using the terser API in the main branch, it always eliminated the dc_intr()/dc_seek() call, but I agree that killing a camel, err.. camelCase function is a good thing]
Diffstat (limited to 'src/inputPlugins/oggflac_plugin.c')
0 files changed, 0 insertions, 0 deletions