[flac-dev] FLAC__stream_decoder_seek_absolute calling write callback

2016-01-13 Thread Tamás Zahola
Hello, The API documentation [1] `FLAC__stream_decoder_seek_absolute` says: "Flush the input and seek to an absolute sample. Decoding will resume at the given sample. Note that because of this, the next write callback may contain a partial block." I expected that subsequent `process_single` call

[flac-dev] [PATCH] check iterator->is_writable

2016-01-13 Thread lvqcl
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