search for: picfil

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

Did you mean: picfile
2010 Mar 08
0
Difficulties in add cover art to FLAC file
..."fail to write: status 0" message. picture->data.picture.type = (FLAC__StreamMetadata_Picture_Type)3; FLAC__metadata_object_picture_set_mime_type( picture, "image/jpeg", true ); FLAC__metadata_object_picture_set_description( picture, (FLAC__byte*)"", true ); CFile picfile; picfile.Open( L"I:\\1.jpg", CFile::modeRead | CFile::shareDenyWrite); ULONGLONG dwLength = picfile.GetLength(); LPSTR pData = new char[static_cast<unsigned int>(dwLength+1)]; picfile.Read(pData, static_cast<UINT>(dwLength)); FLAC__metadata_object_picture_set_data( picture,...