Browse Source

libobs: Don't return false, return NULL

jp9000 5 years ago
parent
commit
8d5ab2be3b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libobs/obs.c

+ 2 - 2
libobs/obs.c

@@ -1284,9 +1284,9 @@ const char *obs_get_latest_input_type_id(const char *unversioned_id)
 	int version = -1;
 
 	if (!obs)
-		return false;
+		return NULL;
 	if (!unversioned_id)
-		return false;
+		return NULL;
 
 	for (size_t i = 0; i < obs->source_types.num; i++) {
 		struct obs_source_info *info = &obs->source_types.array[i];