Displaying 1 result from an estimated 1 matches for "bsuccess".
Did you mean:
success
2009 Jan 28
1
Missing dereference in Stream::set_metadata()?
...le pointer which implies that it is expecting an array of pointers to Prototype objects. For example:
FLAC::Metadata::Prototype *table[2];
FLAC::Metadata::VorbisComment comment;
FLAC::Metadata::SeekTable seek;
table[0] = &seek;
table[1] = &comment;
bool bSuccess = encoder->set_metadata( table, 2 );
The assumption from the (very brief) API doxygen is that it will internally convert from FLAC::Metadata::Prototype pointers to FLAC__StreamMetadata pointers. Looking at the code, it does do the conversion but as a straight cast which is therefore nothing mor...