aizvorski / h264bitstream

A complete set of functions to read and write H.264 video bitstreams, in particular to examine or modify headers.
GNU Lesser General Public License v2.1
713 stars 237 forks source link

Fix segfault when parsing a SPS with seq_scaling_matrix_present_flag set #16

Closed sgadrat-anevia closed 7 years ago

sgadrat-anevia commented 7 years ago

Reproductible by parsing the following NAL: 00 00 00 01 67 64 00 33 f6 11 00 69 d0 16 87 a2

aizvorski commented 7 years ago

Nice catch, thank you.