This seems to have gotten lost in the mailing list and not applied to
the cvs.  It fixes the broken vorbis memory allocation in freeamp. 
Note: this is a real bug, not something that i'm just fixing because in
my opinion it's broken (like the directory add stuff).  

diff -urN -x corba -x CVS -x config.status -x configure -x config.h -x config.log -x 
Makefile* -x aclocal* -x config.cache ./freeamp/lmc/vorbis/src/vorbislmc.cpp 
./freeamp-patched/lmc/vorbis/src/vorbislmc.cpp
--- ./freeamp/lmc/vorbis/src/vorbislmc.cpp      Wed Feb 13 03:11:49 2002
+++ ./freeamp-patched/lmc/vorbis/src/vorbislmc.cpp      Sun Mar 31 19:19:00 2002
@@ -172,7 +172,7 @@
    m_section = -1;
 
    m_pContext->prefs->GetPrefInt32(kOutputBufferSizePref, &iNewSize);
-   iNewSize = max(iNewSize, iInitialOutputBufferSize);
+   iNewSize = max(iNewSize, iMinimumOutputBufferSize);
    iNewSize *= 1024;
 
    result = m_pOutputBuffer->Resize(iNewSize, iNewSize / 6);


_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev

Reply via email to