deinterlace: fixed noopt config

Introduced by the commit c4aa64c8 (2024-01-13).

refers to GH-384
This commit is contained in:
Martin Pulec
2024-05-10 15:35:09 +02:00
parent d8c28fabf8
commit afda0381ae

View File

@@ -86,7 +86,7 @@ static void * deinterlace_blend_init(const char *config) {
if (strcmp(config, "force") == 0) {
s->force = 1;
} else {
} else if (strlen(config) > 0) {
log_msg(LOG_LEVEL_ERROR, MOD_NAME "Unknown option: %s\n", config);
free(s);
return NULL;