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:
parent
3d8f078b61
commit
3bc53f0840
@ -336,7 +336,7 @@ static SSRCRtxData *
|
|||||||
gst_rtp_rtx_send_get_ssrc_data (GstRtpRtxSend * rtx, guint32 ssrc)
|
gst_rtp_rtx_send_get_ssrc_data (GstRtpRtxSend * rtx, guint32 ssrc)
|
||||||
{
|
{
|
||||||
SSRCRtxData *data;
|
SSRCRtxData *data;
|
||||||
guint32 rtx_ssrc;
|
guint32 rtx_ssrc = 0;
|
||||||
gboolean consider = FALSE;
|
gboolean consider = FALSE;
|
||||||
|
|
||||||
if (G_UNLIKELY (!g_hash_table_contains (rtx->ssrc_data,
|
if (G_UNLIKELY (!g_hash_table_contains (rtx->ssrc_data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user