I found a "feature" or a bug in metaflac (and possibly libflac) metadata handling.<br>If you try to add some tags to file, and padding field is not big enough, <br clear="all">padding size doesn't get increased automaticly, so you receive an error about corrupted file (tried both with foobar2k and metaflac).
<br>But if you previously add more padding with "--add-padding=", everything goes smoothly.<br>-- <br>Best Regards.<br>Karpenko Artyom