parse configuration file
This commit is contained in:
parent
ae29230f59
commit
6493b0cca1
4 changed files with 113 additions and 1 deletions
7
main.cpp
7
main.cpp
|
|
@ -14,8 +14,13 @@ extern "C" {
|
|||
|
||||
#include <libavcodec/avcodec.h>
|
||||
|
||||
#include "config.h"
|
||||
using namespace std::literals;
|
||||
int main() {
|
||||
int main(int argc, char *argv[]) {
|
||||
if(argc > 1) {
|
||||
config::parse_file(argv[1]);
|
||||
}
|
||||
|
||||
reed_solomon_init();
|
||||
|
||||
std::thread httpThread { nvhttp::start };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue