Although pretty similar to the probably unrelicensable video/fmt-conversion.c/h (basically using the same idea, but for audio), it was written by someone else. The format mapping was first added in commit ad95e046c2.
ad95e046c2
Signed-off-by: wm4 <wm4@nowhere>