Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
OptimFROG: support encoder version >= 5.100 #406
Encoder 5.100 allows optional additional fields in header, which the current code does not expect. Currently it expects a header data size of exactly 12 or 15 bytes, but the latest spec allow for arbitrary longer size with X additional bytes, where X is the indicated data size - 15 (the fixed fields before).
Also added extraction of bits per sample and encoder version information.
See spec in formats.txt and changelog.txt from downloads in http://losslessaudio.org/Downloads.php