diff options
author | Sergio <sergio@sergione.(none)> | 2014-06-16 15:48:00 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-06-16 20:31:11 +0200 |
commit | 8af4aca43ad1939c578f24e998d2d2ff58e7cc2c (patch) | |
tree | 525946c4d8a67a42ab2d3456ccb1ddcce896facc /src/FileInput.cpp | |
parent | 039b48b75d8b26d4a15c01be7513140a6be493da (diff) | |
download | fdk-aac-dabplus-8af4aca43ad1939c578f24e998d2d2ff58e7cc2c.tar.gz fdk-aac-dabplus-8af4aca43ad1939c578f24e998d2d2ff58e7cc2c.tar.bz2 fdk-aac-dabplus-8af4aca43ad1939c578f24e998d2d2ff58e7cc2c.zip |
fifo silence bug fix
Diffstat (limited to 'src/FileInput.cpp')
-rw-r--r-- | src/FileInput.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/FileInput.cpp b/src/FileInput.cpp index 9ec988b..b116e80 100644 --- a/src/FileInput.cpp +++ b/src/FileInput.cpp @@ -96,6 +96,14 @@ ssize_t FileInput::read(uint8_t* buf, size_t length) return pcmread; } +int FileInput::eof() +{ + int eof=feof(m_in_fh); + clearerr(m_in_fh); + return eof; +} + + FileInput::~FileInput() { if (m_raw_input && m_in_fh) { |