aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/shout_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-24 03:08:39 +0100
committerMax Kellermann <max@duempel.org>2008-12-24 03:08:39 +0100
commit0d9d82a932d7fc022bfc410e206fb8edb6f3db03 (patch)
tree6499d12b4c1e4a59858859a45214f7f74ef2ea84 /src/output/shout_plugin.c
parentd2d11d70a80bde0b348ccfd59bf1ec82bb997cb7 (diff)
downloadmpd-0d9d82a932d7fc022bfc410e206fb8edb6f3db03.tar.gz
mpd-0d9d82a932d7fc022bfc410e206fb8edb6f3db03.tar.xz
mpd-0d9d82a932d7fc022bfc410e206fb8edb6f3db03.zip
pcm_utils: check pcm_convert()==0
It is illegal to pass an empty audio buffer around. pcm_resample() sometimes seems to result in 0 samples, maybe related to libsamplerate. To work around that problem, add special checks after both pcm_convert() invocations. Removed the pcm_resample()==0 checks from pcm_convert().
Diffstat (limited to 'src/output/shout_plugin.c')
0 files changed, 0 insertions, 0 deletions