jp2kdecimator: fix maybe-uninitialized compiler error
authorAndoni Morales Alastruey <ylatuya@gmail.com>
Fri, 11 Apr 2014 10:29:17 +0000 (12:29 +0200)
committerAndoni Morales Alastruey <ylatuya@gmail.com>
Fri, 11 Apr 2014 10:29:17 +0000 (12:29 +0200)
gst/jp2kdecimator/gstjp2kdecimator.c

index dfce75a..78c1fd4 100644 (file)
@@ -232,7 +232,7 @@ gst_jp2k_decimator_sink_chain (GstPad * pad, GstObject * parent,
 {
   GstJP2kDecimator *self = GST_JP2K_DECIMATOR (parent);
   GstFlowReturn ret;
-  GstBuffer *outbuf;
+  GstBuffer *outbuf = NULL;
 
   GST_LOG_OBJECT (pad,
       "Handling inbuf with timestamp %" GST_TIME_FORMAT " and duration %"