fixed svace issue 69/88969/1 accepted/tizen/3.0/ivi/20161011.044201 accepted/tizen/3.0/mobile/20161015.033232 accepted/tizen/3.0/tv/20161016.004639 accepted/tizen/3.0/wearable/20161015.082803 accepted/tizen/common/20160928.163954 accepted/tizen/ivi/20160930.040757 accepted/tizen/mobile/20160930.040441 accepted/tizen/tv/20160930.040607 accepted/tizen/wearable/20160930.040704 submit/tizen/20160928.043825 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000002 submit/tizen_3.0_wearable/20161015.000002
authorSejun Park <sejun79.park@samsung.com>
Wed, 21 Sep 2016 08:50:03 +0000 (17:50 +0900)
committerSejun Park <sejun79.park@samsung.com>
Wed, 21 Sep 2016 08:50:03 +0000 (17:50 +0900)
Change-Id: Ibe934f3d3db34bb1e10964d727f38e7dc9313ef3

omx/gstomxvideodec.c

index a2040b4..96da10b 100755 (executable)
@@ -1871,7 +1871,7 @@ gst_omx_video_dec_negotiate (GstOMXVideoDec * self)
   GstCaps *templ_caps, *intersection;
   GstVideoFormat format;
   GstStructure *s;
-  const gchar *format_str;
+  const gchar *format_str = NULL;
 #ifdef TIZEN_FEATURE_OMX
   gchar *format_tmp;
   int i;
@@ -1912,6 +1912,7 @@ gst_omx_video_dec_negotiate (GstOMXVideoDec * self)
     return FALSE;
   }
 
+#ifdef TIZEN_FEATURE_OMX
   for(i=0; i<gst_caps_get_size(intersection); i++)
   {
       s = gst_caps_get_structure (intersection, i);
@@ -1932,6 +1933,7 @@ gst_omx_video_dec_negotiate (GstOMXVideoDec * self)
     format_str = gst_structure_get_string (s, "format");
     GST_DEBUG_OBJECT (self, "first structure will be fixated");
   }
+#endif
 
   if (!format_str ||
       (format =