From 3bc53f08401ba0e4cddf3c9e18c11094b3f406bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 8 Feb 2014 17:24:06 +0100 Subject: [PATCH] rtprtxsend: Fix unitialized variable compiler warning variable 'rtx_ssrc' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] --- gst/rtpmanager/gstrtprtxsend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtpmanager/gstrtprtxsend.c b/gst/rtpmanager/gstrtprtxsend.c index ab246f8311..5addbe4ce1 100644 --- a/gst/rtpmanager/gstrtprtxsend.c +++ b/gst/rtpmanager/gstrtprtxsend.c @@ -336,7 +336,7 @@ static SSRCRtxData * gst_rtp_rtx_send_get_ssrc_data (GstRtpRtxSend * rtx, guint32 ssrc) { SSRCRtxData *data; - guint32 rtx_ssrc; + guint32 rtx_ssrc = 0; gboolean consider = FALSE; if (G_UNLIKELY (!g_hash_table_contains (rtx->ssrc_data,