Fixes an issue where align_pos could be smaller than sizeof(struct shmem_data), potentially overwriting memory of the header. References jp9000/obs-studio#1202
Fixes an issue where align_pos could be smaller than sizeof(struct shmem_data), potentially overwriting memory of the header. References jp9000/obs-studio#1202