search for: pvcin

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

2003 Aug 25
3
mem leak when writing ogg vorbis comments
...led 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) { // ... handle the failure case return FALSE; } state = vcedit_new_state()...