[Version] 0.0.10
[Issue Type] SVACE
Change-Id: Ifde946e93c9f44e0d9a34289b128d04ddd220057
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Name: hal-api-audio
Summary: TIZEN Audio HAL
-Version: 0.0.9
+Version: 0.0.10
Release: 0
Group: System/Libraries
License: Apache-2.0
it_end = json_object_iter_end(device_role_o);
while (!json_object_iter_equal(&it, &it_end)) {
- if (strcmp(json_object_iter_peek_name(&it), "normal") == 0) {
+ const char *name = json_object_iter_peek_name(&it);
+
+ if (name && !strcmp(name, "normal")) {
device_params.assign(json_object_get_string(json_object_iter_peek_value(&it)));
cout << " " << DEVICE_TYPE_PROP_ROLE << " : { normal : " << device_params << " }" << endl;
break;