c
horizSubSampling = atoi(optarg);
if (horizSubSampling == 0) {
    // Handle the error appropriately:
    // - Print an error message and exit.
    // - Use a default value for horizSubSampling.
    // - Implement other error recovery mechanisms.
}
