diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-12 10:03:12 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-12 10:03:12 +0200 |
commit | 861ffe7f7376ff3df2c7a7421b2e84a57c6a2b83 (patch) | |
tree | 54d3cdbb49b59b3de445270e2b50b246aa69c83f | |
parent | a599ccc4c8406c244454c5a0fedc547bf3b1405a (diff) | |
download | fdk-aac-dabplus-861ffe7f7376ff3df2c7a7421b2e84a57c6a2b83.tar.gz fdk-aac-dabplus-861ffe7f7376ff3df2c7a7421b2e84a57c6a2b83.tar.bz2 fdk-aac-dabplus-861ffe7f7376ff3df2c7a7421b2e84a57c6a2b83.zip |
VLCInput ICY write: use fputs_unlocked
The usage of fprintf seems to cause small interruptions. This is not
so nice, this will have to be really solved when the interconnection
between encoder and mot-encoder is replaced.
-rw-r--r-- | src/VLCInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp index 82d1d14..d7b691f 100644 --- a/src/VLCInput.cpp +++ b/src/VLCInput.cpp @@ -239,7 +239,7 @@ ssize_t VLCInput::read(uint8_t* buf, size_t length) void VLCInput::write_icy_text(const std::string& filename) const { FILE* fd = fopen(filename.c_str(), "wb"); - fprintf(fd, "%s", m_nowplaying.c_str()); + fputs_unlocked(m_nowplaying.c_str(), fd); fclose(fd); } |