Fix coverity issue - UNUSED_VALUE 50/294350/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.093518 accepted/tizen/unified/20230620.022452 tizen_8.0_m2_release
authorJeongmo Yang <jm80.yang@samsung.com>
Fri, 16 Jun 2023 07:50:24 +0000 (16:50 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Fri, 16 Jun 2023 07:51:21 +0000 (16:51 +0900)
[Version] 0.3.29
[Issue Type] Coverity

Change-Id: I213e4a5ba26f9b934e1c5f4bf2cf09629d4988e1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
muse/src/muse_recorder_dispatcher.c
packaging/mmsvc-recorder.spec

index c5e6d4e066234a1dfb0d5864c6d6d73002628923..465b2ea695263d88a6841f15ad49ebf3936980a0 100644 (file)
@@ -2369,7 +2369,7 @@ static int recorder_cmd_dispatcher_initialize(muse_module_h module)
        GstPlugin *plugin = NULL;
 
        const char *load_list[] = {
-               LIBDIR"/gstreamer-1.0/libgstencodebin.so",
+               LIBDIR"/gstreamer-1.0/libgsttizenencodebin.so",
        };
 
        item_count = sizeof(load_list) / sizeof(load_list[0]);
@@ -2381,7 +2381,6 @@ static int recorder_cmd_dispatcher_initialize(muse_module_h module)
                if (plugin) {
                        CAM_LOG_INFO("%s loaded", load_list[i]);
                        gst_object_unref(plugin);
-                       plugin = NULL;
                } else {
                        CAM_LOG_WARNING("failed to load %s", load_list[i]);
                }
index 1a8c39515c6e27b69b19bd4e10bc6406084f875c..f4b6382a97917df0cd358ebfe2ec4c35d1ffabd0 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mmsvc-recorder
 Summary:    A Recorder module for muse server
-Version:    0.3.28
+Version:    0.3.29
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0