diff --git a/src/logo/option.c b/src/logo/option.c index 86433f90f..425dd056f 100644 --- a/src/logo/option.c +++ b/src/logo/option.c @@ -35,7 +35,12 @@ bool ffParseLogoCommandOptions(FFLogoOptions* options, const char* key, const ch if (subKey[0] == '\0') { logoType: - //this is usally wanted when using the none logo + if(value == NULL) + { + fprintf(stderr, "Error: usage: %s \n", key); + exit(477); + } + //this is usually wanted when disabling logo if(strcasecmp(value, "none") == 0) { options->paddingTop = 0;