Re: [Flac-dev] Difficulties in add cover art to FLAC file

2010-04-19 Thread Josh Coalson
how big is the data? there's a 16MB limit for metadata blocks. see src/share/grabbag/picture.c:grabbag__picture_parse_specification() for examples of function usage. --- On Mon, 3/8/10, Anthony Liu wrote: ... The above code will add a NULL cover art into the flac file, it works. However, aft

[Flac-dev] Difficulties in add cover art to FLAC file

2010-03-08 Thread Anthony Liu
Hi all, recently I tried to add cover art to flac files and have dfficulties in doing so. FLAC__Metadata_Chain *chain = FLAC__metadata_chain_new(); if(0 == chain) return; if(!FLAC__metadata_chain_read(chain, filename)) return; FLAC__StreamMetadata *picture = FLAC__metadata_object_new(FLAC_