in H264 and H264, parameters (VPS, SPS and PPS) are automatically prepended to random access units. When parameters were nil, they were prepended anyway, leading to a crash. Parameters are not prepended only if they are valid.