diff --git a/src/plugins/stockencoders/LameEncoder.cpp b/src/plugins/stockencoders/LameEncoder.cpp index efb9d3877..248d16726 100644 --- a/src/plugins/stockencoders/LameEncoder.cpp +++ b/src/plugins/stockencoders/LameEncoder.cpp @@ -155,7 +155,7 @@ void LameEncoder::Finalize(const char* uri) { #ifdef WIN32 FILE* fp = _wfopen(utf8to16(uri).c_str(), L"r+b"); #else - FILE* fp = fopen(uri, "a+b"); + FILE* fp = fopen(uri, "r+b"); #endif if (fp) { if (!fseek(fp, 0, SEEK_SET)) {