diff options
author | Max Kellermann <max@duempel.org> | 2008-11-12 07:14:18 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-12 07:14:18 +0100 |
commit | eff21067f0a3135242ecb9bfdc66e4b6f760089e (patch) | |
tree | 615c9ab15a6a234b100658aed727e033cc0bca6a /src/decoder/audiofile_plugin.c | |
parent | 0a6f4048d07f3a5485ed1a8796896fbae3a99b8c (diff) | |
download | mpd-eff21067f0a3135242ecb9bfdc66e4b6f760089e.tar.gz mpd-eff21067f0a3135242ecb9bfdc66e4b6f760089e.tar.xz mpd-eff21067f0a3135242ecb9bfdc66e4b6f760089e.zip |
mpc: assume the result fo of mpc_decoder_decode() is unsigned
According to the documentation, mpc_decoder_decode() returns an
mpc_uint32_t. Since the special return value (mpc_uint32_t)-1
translates to a very large long integer, this may cause segmentation
faults if not interpreted properly.
Diffstat (limited to 'src/decoder/audiofile_plugin.c')
0 files changed, 0 insertions, 0 deletions