dholroyd / h264-reader

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

Fields of `h264_reader::nal::slice::SliceHeader` are not `pub` #73

Closed jerzywilczek closed 4 months ago

jerzywilczek commented 5 months ago

Hi there!

Is there any reason for most of the fields of the SliceHeader struct being private?

dholroyd commented 5 months ago

No particular reason for the fields to be private - I wrote the code without actually making use of it in my own projects yet. Happy to take a PR adding pub to the fields you need.