Fix build fail and initialize variable 06/115206/1 accepted/tizen/3.0/common/20170220.125656 accepted/tizen/3.0/ivi/20170220.013852 accepted/tizen/3.0/mobile/20170220.013519 accepted/tizen/3.0/tv/20170220.013622 accepted/tizen/3.0/wearable/20170220.013736 submit/tizen_3.0/20170216.114148
authorGilbok Lee <gilbok.lee@samsung.com>
Fri, 17 Feb 2017 01:56:07 +0000 (10:56 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Fri, 17 Feb 2017 01:56:07 +0000 (10:56 +0900)
[Version] 0.1.8
[Profile] Mobile, Wearable, TV
[Issue Type] Fix bugs

Change-Id: I1683d017a57fa5089f91bf88b28116f94fabf2a0

packaging/capi-mediamuxer.spec
test/mediamuxer_test_gst.c

index a125ab0..972965b 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-mediamuxer
 Summary:    A Media Muxer library in Tizen Native API
-Version:    0.1.7
+Version:    0.1.8
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
index 1eb3590..67143d3 100644 (file)
@@ -241,7 +241,7 @@ ERROR1:
 /* Demuxer video-appsink buffer receive callback */
 static void __video_app_sink_callback(GstElement *sink, CustomData *data)
 {
-       GstBuffer *buffer NULL;
+       GstBuffer *buffer NULL;
        media_format_h vidfmt = NULL;
        media_packet_h vid_pkt = NULL;
        uint64_t ns;
@@ -434,9 +434,9 @@ void __text_app_sink_eos_callback(GstElement *sink, CustomData *data)
 /* Demuxer text-appsink buffer receive callback */
 void __text_app_sink_callback(GstElement *sink, CustomData *data)
 {
-       GstBuffer *buffer;
-       media_format_h textfmt;
-       media_packet_h text_pkt;
+       GstBuffer *buffer = NULL;
+       media_format_h textfmt = NULL;
+       media_packet_h text_pkt = NULL;
        GstState state;
        uint64_t ns;
        int key;