[flac-dev] Exact FLAC subset constraints

Erik de Castro Lopo
Tue, 07 Jan 2014 10:18:27 -0000

Brian Willoughby wrote:

> I think you've found a bug, Bart.
>
> flac 1.2.1 did not have any FLAC__format_blocksize_is_subset()
> function, so the source you're seeing in format.c must be new. If the
> format documentation you linked to is correct, then either the
> specifications are self-contradictory, or the code is not
> implementing the subset checks as described. My interpretation is
> that blocksize bits of 0110 and 0111 would not be included in the
> subset. The whole point of the subset is to have a small and finite
> list of values so that embedded decoders do not have to deal with
> every possible block size.
>
> This bears further investigation.

I agree. Please keep up informed.

Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo