search for: flac__metadata_chainstatus

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

2010 Mar 08
0
Difficulties in add cover art to FLAC file
...tor_insert_block_after(iterator, picture)) { printf(L" ERROR: adding new PICTURE block to metadata"); FLAC__metadata_object_delete(picture); } FLAC__metadata_iterator_delete(iterator); FLAC__metadata_chain_sort_padding(chain); if(!FLAC__metadata_chain_write(chain, true, false )) { const FLAC__Metadata_ChainStatus status = FLAC__metadata_chain_status(chain); printf( "Fail to write: %d", status ); } FLAC__metadata_chain_delete(chain); The above code will add a NULL cover art into the flac file, it works. However, after I add the following code between the call of FLAC__metadata_iterator_next a...