Global: adds missing #endifs back

This commit is contained in:
Carter Li
2026-05-13 13:14:21 +08:00
parent 8a7c83cac6
commit 5df00a3394
+3 -2
View File
@@ -53,7 +53,7 @@ const char* ffOptionsParseGeneralJsonConfig(FFOptionsGeneral* options, yyjson_va
options->dsForceDrm = yyjson_get_bool(val) ? FF_DS_FORCE_DRM_TYPE_TRUE : FF_DS_FORCE_DRM_TYPE_FALSE;
}
}
#endif
else {
return "Unknown general property";
}
@@ -82,7 +82,7 @@ bool ffOptionsParseGeneralCommandLine(FFOptionsGeneral* options, const char* key
options->dsForceDrm = FF_DS_FORCE_DRM_TYPE_FALSE;
}
}
#endif
else {
return false;
}
@@ -130,4 +130,5 @@ void ffOptionsGenerateGeneralJsonConfig(FFdata* data, FFOptionsGeneral* options)
yyjson_mut_obj_add_bool(doc, obj, "dsForceDrm", true);
break;
}
#endif
}