From: Gilbok Lee Date: Fri, 17 Feb 2017 01:56:07 +0000 (+0900) Subject: Fix build fail and initialize variable X-Git-Tag: submit/tizen_3.0/20170216.114148^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b70cbb02891f037c53dbddef0e7e1cb16ece7e4f;p=platform%2Fcore%2Fapi%2Fmediamuxer.git Fix build fail and initialize variable [Version] 0.1.8 [Profile] Mobile, Wearable, TV [Issue Type] Fix bugs Change-Id: I1683d017a57fa5089f91bf88b28116f94fabf2a0 --- diff --git a/packaging/capi-mediamuxer.spec b/packaging/capi-mediamuxer.spec index a125ab0..972965b 100755 --- a/packaging/capi-mediamuxer.spec +++ b/packaging/capi-mediamuxer.spec @@ -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 diff --git a/test/mediamuxer_test_gst.c b/test/mediamuxer_test_gst.c index 1eb3590..67143d3 100644 --- a/test/mediamuxer_test_gst.c +++ b/test/mediamuxer_test_gst.c @@ -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;