rtsp: Factor out fmtp parsing