0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

obs-x264: Remove unused getparam() function

This commit is contained in:
Zhao Zhili 2023-08-22 11:04:35 +08:00 committed by Lain
parent 867938cd9d
commit 5c0a018628

View File

@ -237,22 +237,6 @@ static obs_properties_t *obs_x264_props(void *unused)
return props;
}
static bool getparam(const char *param, char **name, const char **value)
{
const char *assign;
if (!param || !*param || (*param == '='))
return false;
assign = strchr(param, '=');
if (!assign || !*assign || !*(assign + 1))
return false;
*name = bstrdup_n(param, assign - param);
*value = assign + 1;
return true;
}
static const char *validate(struct obs_x264 *obsx264, const char *val,
const char *name, const char *const *list)
{