dholroyd / h264-reader

Rust reader for H264 bitsream syntax
Apache License 2.0
73 stars 25 forks source link

Fix pic_scaling_matrix size calculation #46

Closed dholroyd closed 1 year ago

dholroyd commented 1 year ago

Looks like I intended to include the "+ 6" in the constant values, and then added 6 anyway in the loop header.

Lets just add 6 in the loop header and keep the constant values the same as in the spec to make comparisons with the spec simpler.

Fixes #45