In libFLAC/metadata_iterators.c, functions FLAC__metadata_simple_iterator_set_block() FLAC__metadata_simple_iterator_insert_block_after()
check the value of iterator->is_writable, but FLAC__metadata_simple_iterator_delete_block() doesn't do it. Is there any reason for it? Because I cannot see any. The patch adds this missing check.
writable_check.patch
Description: Binary data
_______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev