Here's a diff -pub against HEAD which corrects what looks like a potentially
unsafe and redundant Clear() of PipelineUnit::m_pOutputBuffer in
LocalFileInput::Clear(). The PipelineUnit::Clear() call already handles this,
and is mutexed.
Index: localfileinput.cpp
===================================================================
RCS file: /src/repository/freeamp/io/local/localfileinput.cpp,v
retrieving revision 1.38
diff -p -u -b -r1.38 localfileinput.cpp
--- localfileinput.cpp 2001/04/20 19:07:14 1.38
+++ localfileinput.cpp 2001/12/16 11:30:42
@@ -241,7 +241,6 @@ void LocalFileInput::Clear(void)
{
if (m_fpFile)
fseek(m_fpFile, SEEK_SET, 0);
- m_pOutputBuffer->Clear();
PipelineUnit::Clear();
}
--
Gary R. Van Sickle
Brewer. Patriot.
_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev