summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 715f85f)
raw | patch | inline | side by side (parent: 715f85f)
author | Alessandro Decina <alessandro.decina@collabora.com> | |
Tue, 8 May 2012 12:27:56 +0000 (14:27 +0200) | ||
committer | Alessandro Decina <alessandro.decina@collabora.com> | |
Tue, 8 May 2012 12:27:56 +0000 (14:27 +0200) |
src/gstducatividdec.c | patch | blob | history |
diff --git a/src/gstducatividdec.c b/src/gstducatividdec.c
index 909abe78739764f357dc95d3ba4ac2672d446723..0b5c8fec8e5b249f35791f88a997b6edac5c9087 100644 (file)
--- a/src/gstducatividdec.c
+++ b/src/gstducatividdec.c
gint i;
GstDucatiVidDecClass *klass = GST_DUCATIVIDDEC_GET_CLASS (self);
GstFlowReturn ret = GST_FLOW_OK;
+ if (flow_ret)
+ /* never leave flow_ret uninitialized */
+ *flow_ret = GST_FLOW_OK;
memset (&self->outArgs->outputID, 0, sizeof (self->outArgs->outputID));
memset (&self->outArgs->freeBufID, 0, sizeof (self->outArgs->freeBufID));
{
GstDucatiVidDec *self = GST_DUCATIVIDDEC (GST_OBJECT_PARENT (pad));
GstClockTime ts = GST_BUFFER_TIMESTAMP (buf);
- GstFlowReturn ret;
+ GstFlowReturn ret = GST_FLOW_OK;
Int32 err;
GstBuffer *outbuf = NULL;
GstCaps *outcaps = NULL;