rtpjitterbuffer: fix compiler warning

gstrtpjitterbuffer.c: In function 'gst_rtp_jitter_buffer_loop':
gstrtpjitterbuffer.c:2978:3: error: 'result' may be used uninitialized in this function
   while (result == GST_FLOW_OK);
   ^
This commit is contained in:
Tim-Philipp Müller 2014-02-27 00:11:11 +00:00
parent 6b13fd56ea
commit 1d7f5c7a83

View file

@ -2429,7 +2429,7 @@ static GstFlowReturn
pop_and_push_next (GstRtpJitterBuffer * jitterbuffer, guint seqnum)
{
GstRtpJitterBufferPrivate *priv = jitterbuffer->priv;
GstFlowReturn result;
GstFlowReturn result = GST_FLOW_OK;
RTPJitterBufferItem *item;
GstBuffer *outbuf = NULL;
GstEvent *outevent = NULL;