Fix coverity issue - Unused value 36/289036/2
authorJeongmo Yang <jm80.yang@samsung.com>
Mon, 27 Feb 2023 12:16:53 +0000 (21:16 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Tue, 28 Feb 2023 01:39:24 +0000 (10:39 +0900)
[Version] 0.6.28
[Issue Type] Coverity

Change-Id: I5bccba80ba34bb277a885da4047d728f0d7fa2f5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/capi-media-codec.spec
src/media_codec_port_gst.c

index f2f1445..9da8792 100644 (file)
@@ -4,8 +4,8 @@
 
 Name:       capi-media-codec
 Summary:    A Media Codec library in Tizen Native API
-Version:    0.6.27
-Release:    2
+Version:    0.6.28
+Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
index eaf5f62..69f60ba 100644 (file)
@@ -3050,7 +3050,6 @@ static void _mc_gst_set_flush_output(mc_gst_core_t *core)
                if (packet) {
                        media_packet_destroy(packet);
                        LOGD("outpacket destroyed");
-                       packet = NULL;
                }
        }
        g_mutex_unlock(&core->ports[1]->mutex);