h264-reader
h264-reader copied to clipboard
Wrong Bounds Check for pic_parameter_set_id
The pic_parameter_set_id
is a ParamSetId struct, which checks if the ID is within [0, 31]: https://github.com/dholroyd/h264-reader/blob/master/src/nal/pps.rs#L218
Valid bitstreams can have pic_parameter_set_id
s in the range [0, 255].