From: Luis de Bethencourt Date: Thu, 30 Jun 2011 18:33:36 +0000 (+0200) Subject: encodebin: fix compiler warning X-Git-Tag: 1.19.3~511^2~6555^2~786 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf816fe81624d31a68d48bba1c48a969cee399f4;p=platform%2Fupstream%2Fgstreamer.git encodebin: fix compiler warning cspace and cspace2 may run uninitialized. --- diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index 446f93b..dd50ac1 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -1262,7 +1262,7 @@ _create_stream_group (GstEncodeBin * ebin, GstEncodingProfile * sprof, /* FIXME : Once we have properties for specific converters, use those */ if (GST_IS_ENCODING_VIDEO_PROFILE (sprof)) { const gboolean native_video = ! !(ebin->flags & GST_ENC_FLAG_NATIVE_VIDEO); - GstElement *cspace, *scale, *vrate, *cspace2; + GstElement *cspace = NULL, *scale, *vrate, *cspace2 = NULL; GST_LOG ("Adding conversion elements for video stream");