for (idx = 0 ; idx < MUSE_MAX_PARAM_NUM; idx++) {
char gst_param_value[MUSE_MAX_PARAM_STRLEN];
memset(gst_param_value, 0, MUSE_MAX_PARAM_STRLEN);
- snprintf(gst_param_value, strlen(MUSEGST) + ((idx + 1) / 10) + 1, "%s%d", MUSEGST, idx+1);
+ snprintf(gst_param_value, strlen(MUSEGST) + 2, "%s%d", MUSEGST, idx + 1);
str = iniparser_getstring(g_muse_core_conf->muse_dict, gst_param_value, NULL);
g_strstrip(str);
LOGE("Error - gst param allocation");
_muse_core_config_free();
}
- LOGD("gst_param%d: %s", (g_muse_core_conf->gst_param_cnt)++, g_muse_core_conf->gst_param_str[idx]);
+ LOGD("gstparam%d: %s", (g_muse_core_conf->gst_param_cnt)++, g_muse_core_conf->gst_param_str[idx]);
}
g_muse_core_conf->type = 0;