[Flac] What is the magic code for Ogg FLAC?

Ivo Emanuel Gonçalves justivo at gmail.com
Mon Feb 11 11:05:32 PST 2008


On 2/11/08, Josh Coalson <xflac at yahoo.com> wrote:
> let me know if that doesn't have enough info.

I'd say it had enough info, but too much for what I needed.  I ended
up finding the answer in oggenc/flac.c: it's "\177FLAC" not "fLaC" as
ogginfo claimed.

Is this right, Josh?  While my patched ogginfo now detects Ogg FLAC
properly, I'm not sure if this is the correct method.  ogginfo only
checks for magic and packet size.

-Ivo


More information about the Flac mailing list