Fix SVACE issue (UNREACHABLE_CODE) 65/223565/1 accepted/tizen/unified/20200203.125736 submit/tizen/20200202.234246
authorGilbok Lee <gilbok.lee@samsung.com>
Fri, 31 Jan 2020 01:46:14 +0000 (10:46 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Fri, 31 Jan 2020 01:48:55 +0000 (10:48 +0900)
[Version] 0.1.34
[Issue Type] Fix svace issue

Change-Id: I41b9314a6f01bd15305fe5f2285ce20bc620d160

packaging/capi-mediademuxer.spec
src/port_gst/mediademuxer_port_gst.c

index 35e9367..3846087 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-mediademuxer
 Summary:    A Media Demuxer library in Tizen Native API
-Version:    0.1.33
+Version:    0.1.34
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
index 764e6b7..afc45c4 100644 (file)
@@ -707,14 +707,8 @@ static void __gst_on_pad_added(GstElement *element, GstPad *pad, gpointer data)
                return;
        }
 
-       while (tmp->next) {
+       while (tmp->next)
                tmp = tmp->next;
-               if (!tmp) {
-                       MD_I("trak is NULL\n");
-                       MEDIADEMUXER_FLEAVE();
-                       return;
-               }
-       }
 
        if (!tmp->caps_string) {
                MD_I("trak caps_string is NULL\n");