projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d8f078
)
rtprtxsend: Fix unitialized variable compiler warning
author
Sebastian Dröge
<sebastian@centricular.com>
Sat, 8 Feb 2014 16:24:06 +0000
(17:24 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Sat, 8 Feb 2014 16:24:06 +0000
(17:24 +0100)
variable 'rtx_ssrc' is used uninitialized whenever
'if' condition is false [-Werror,-Wsometimes-uninitialized]
gst/rtpmanager/gstrtprtxsend.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/gstrtprtxsend.c
b/gst/rtpmanager/gstrtprtxsend.c
index
ab246f8
..
5addbe4
100644
(file)
--- 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,