Skip to content

FLAC is packetized incorrectly

http://streams.videolan.org/issues/9442/for.flac

[0x7f68f8c01f38] flac decoder error: The decoder encountered reserved fields in use in the stream.

http://streams.videolan.org/issues/9442/mad.flac

[0x7f5e54006f08] flac decoder warning: the decoder was aborted by the read callback.
[0x7f5e54006f08] flac decoder warning: an error in the stream caused the decoder to lose synchronization.

Those 2 samples have frames with a synchronization marker inside them. The data after the synchronization looks like a correct header, up to the crc8 header byte.

To know that frames stop after the next synchronization marker and not this one, we have to crc16 check the full frame.

Edited by Rafaël Carré
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information