diff --git a/src/config.c b/src/config.c index 5e580f9..6e27fb3 100644 --- a/src/config.c +++ b/src/config.c @@ -347,10 +347,8 @@ void config_parse(int argc, char* argv[], PCONFIGURATION config) { config->stream.bitrate = 5000; } - if (inputAdded) { - if (config->mapping == NULL) { - fprintf(stderr, "Please specify mapping file as default mapping could not be found.\n"); - exit(-1); - } + if (config->mapping == NULL) { + fprintf(stderr, "Please specify mapping file as default mapping could not be found.\n"); + exit(-1); } }