diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:10 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-30 18:45:03 -0700 |
commit | d39395f3cdd937fc38d794de8706c9bc4cb96bd2 (patch) | |
tree | fdcb94ca397468188c000538395bd1ab570cad58 /src/inputPlugins/mod_plugin.c | |
parent | 7b47338ca996f8fda1bd0f8c743555a25409c200 (diff) | |
download | mpd-d39395f3cdd937fc38d794de8706c9bc4cb96bd2.tar.gz mpd-d39395f3cdd937fc38d794de8706c9bc4cb96bd2.tar.xz mpd-d39395f3cdd937fc38d794de8706c9bc4cb96bd2.zip |
aac: use inputStreamAtEOF()
When checking for EOF, we should not check whether the read request
has been fully satisified. The InputStream API does not guarantee
that readFromInputStream() always fills the whole buffer, if EOF is
not reached. Since there is the function inputStreamAtEOF() dedicated
for this purpose, we should use it for EOF checking after
readFromInputStream()==0.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions