fix svace issue 14/102714/1 accepted/tizen/3.0/common/20161207.194510 accepted/tizen/3.0/ivi/20161207.011919 accepted/tizen/3.0/mobile/20161207.011544 accepted/tizen/3.0/tv/20161207.011715 accepted/tizen/3.0/wearable/20161207.011811 submit/tizen_3.0/20161206.052949
authorNAMJEONGYOON <just.nam@samsung.com>
Tue, 6 Dec 2016 10:24:17 +0000 (19:24 +0900)
committerNAMJEONGYOON <just.nam@samsung.com>
Tue, 6 Dec 2016 10:25:50 +0000 (19:25 +0900)
Change-Id: Ic23ff8a4dd6efdf4059323939605dd9c5c309cfb

legacy/src/legacy_player.c

index ebbd66a..854d452 100644 (file)
@@ -1303,7 +1303,7 @@ int legacy_player_prepare(player_h player)
                else
                        value = TRUE;
 
-               mm_player_set_attribute(handle->mm_handle, NULL, "display_visible", value, (char *)NULL);
+               ret = mm_player_set_attribute(handle->mm_handle, NULL, "display_visible", value, (char *)NULL);
 
                if (ret != MM_ERROR_NONE)
                        LOGW("[%s] Failed to set display display_visible '0' (0x%x)", __FUNCTION__, ret);