h264-reader icon indicating copy to clipboard operation
h264-reader copied to clipboard

Wrong Bounds Check for pic_parameter_set_id

Open wrv opened this issue 11 months ago • 2 comments

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_ids in the range [0, 255].

wrv avatar Jul 19 '23 16:07 wrv