untangledco / streaming

Media streaming and broadcast systems in Go
https://twitch.tv/untangledco
ISC License
82 stars 5 forks source link

scte35: generate CRC32 table programmatically #1

Closed ollytom closed 3 months ago

ollytom commented 3 months ago

There's an array with a bunch of magic values that we don't know how they are generated or where they come from. If they can't be generated trivially, then maybe a link to somewhere the table can be copy & pasted from would be helpful.

ollytom commented 3 months ago

Hopefully this provides some more background info on where we can find these values: https://en.wikipedia.org/wiki/Cyclic_redundancy_check

ollytom commented 3 months ago

Fixed in 2c4c5d7ef79d88f67d5fc1 Thanks @blkfaclon!