This avoids a lot of boilerplate code and string copying.
A proper type that can define a variable as a fourcc would be better, but it's trickier than expected.