Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
branches:nemo:devel:hw:ti:omap4:common
>
gst-plugins-base
> 0028-encodebin-fix-compiler-warning.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0028-encodebin-fix-compiler-warning.patch of Package gst-plugins-base
From ca6c35ce0ef45b59968ea329f4b772b0e3794f13 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt <luis@debethencourt.com> Date: Thu, 30 Jun 2011 20:33:36 +0200 Subject: [PATCH 28/38] encodebin: fix compiler warning cspace and cspace2 may run uninitialized. --- gst/encoding/gstencodebin.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index 9808bce..8d9e90f 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -1224,7 +1224,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"); -- 1.7.5.4