search for: cheaderinfooggbasic

Displaying 1 result from an estimated 1 matches for "cheaderinfooggbasic".

2003 Aug 25
3
mem leak when writing ogg vorbis comments
...all the messages say is to copy vorbiscomment. FYI, this software is used to put music on an Ogg-Vorbis enabled hardware project (PhatNoise PhatBox). It also does ripping and Ogg-Vorbis encoding. :) Thanks! Here's the code. I tried to get rid of as much superfluous code as possible. BOOL CHeaderInfoOGGBASIC::WriteFileTag(CString szFilePath) { vcedit_state *state; vorbis_comment *pvcin; FILE * in=NULL, *out=NULL; char *buf=new char[1024]; // Read the initial tag in = fopen(szFilePath, "rb"); if (in == NULL) { // ... hand...