there is comment from our expert: I investigated stream and found that stream is corrupted. It contains partial sequence header (SPS with VUI parameters) that is why you got h264_exception (memory overreading occurred and decoder read garbage). It is normal behavior of H.264 decoder. This exception should be caught at TaskSupplier::DecodeHeaders function, but decoder will skip all frames until next sequence header.
There was [an] incomplete sps header at bitstream (incomplete VUi part of sps). A few bytes was absent. For example: lets, you have correct original bitstream with sps and VUI. Lets, size of SPS with VUI is 10 bytes. This corrupted stream contains only 7 bytes of sps with VUI. So, 3 bytes are lost