rtprtxsend: Fix unitialized variable compiler warning

variable 'rtx_ssrc' is used uninitialized whenever
'if' condition is false [-Werror,-Wsometimes-uninitialized]
This commit is contained in:
Sebastian Dröge 2014-02-08 17:24:06 +01:00
parent 3d8f078b61
commit 3bc53f0840

View file

@ -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,