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:
parent
ba8c0f5e4b
commit
3c9dfaea38
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user