diff options
author | Laszlo Ashin <kodest@gmail.com> | 2008-11-08 13:10:15 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-08 13:10:15 +0100 |
commit | 3e338da871f2b472c72ae6b2788937cd2ca0110a (patch) | |
tree | 67f9a967d777e249d82305f02f1768516b6991ae /src/pcm_resample.c | |
parent | cfd55b29bde6db1a90f81423e298378a7fd5b618 (diff) | |
download | mpd-3e338da871f2b472c72ae6b2788937cd2ca0110a.tar.gz mpd-3e338da871f2b472c72ae6b2788937cd2ca0110a.tar.xz mpd-3e338da871f2b472c72ae6b2788937cd2ca0110a.zip |
wavpack: check last_byte in push_back_byte() method
At this moment the wavpack lib doesn't use the return value of the
push_back function, which has an equivalent meaning of the return
value of ungetc(). This is a lucky situation, because so far it
simply returned with 1 as a hard coded value. From now on the
function will return EOF on error. (This function makes exactly one
byte pushable back.)
Diffstat (limited to 'src/pcm_resample.c')
0 files changed, 0 insertions, 0 deletions