aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/shout_mp3.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-05 07:24:57 +0100
committerMax Kellermann <max@duempel.org>2008-11-05 07:24:57 +0100
commiteedbd28ec9fd07c25c19352f3ad854b153c02720 (patch)
treebe5443594ebf809ff40fa9560dbf2d8a17a0d2a2 /src/output/shout_mp3.c
parent010a27cd95bb48b737ca12a72ef63e9c8e4501d5 (diff)
downloadmpd-eedbd28ec9fd07c25c19352f3ad854b153c02720.tar.gz
mpd-eedbd28ec9fd07c25c19352f3ad854b153c02720.tar.xz
mpd-eedbd28ec9fd07c25c19352f3ad854b153c02720.zip
wavpack: read_bytes() should not return after partial reads
libwavpack expects the read_bytes() stream method to fill the whole buffer, and fails badly when we return a partial read (i.e. not enough data available yet). This caused wavpack streams to break. Re-implement the buffer filling loop.
Diffstat (limited to 'src/output/shout_mp3.c')
0 files changed, 0 insertions, 0 deletions