basesink: fixes compiler warning

gstbasesink.c: In function 'gst_base_sink_chain_unlocked':
gstbasesink.c:3204: warning: 'ret' may be used uninitialized in this function
This commit is contained in:
Josep Torra 2013-03-30 10:24:27 +01:00
parent ba8c0f5e4b
commit 3c9dfaea38

View file

@ -3201,7 +3201,7 @@ gst_base_sink_chain_unlocked (GstBaseSink * basesink, GstPad * pad,
{
GstBaseSinkClass *bclass;
GstBaseSinkPrivate *priv = basesink->priv;
GstFlowReturn ret;
GstFlowReturn ret = GST_FLOW_OK;
GstClockTime start = GST_CLOCK_TIME_NONE, end = GST_CLOCK_TIME_NONE;
GstSegment *segment;
GstBuffer *sync_buf;