提交 8d5ab2be 编写于 作者: J jp9000

libobs: Don't return false, return NULL

上级 3e01a85d
......@@ -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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册