diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-09-04 15:23:34 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-09-04 15:23:34 +0000 |
commit | 18b96b52334a9d71245a65dcdd1092d913284cb7 (patch) | |
tree | d583c3ddf966b78b2579f8b86598a48bba64e2f8 /gst/rtpmanager | |
parent | 11523b42f74a19f6bdb677383da2a0a36d5987db (diff) | |
download | gst-plugins-bad-18b96b52334a9d71245a65dcdd1092d913284cb7.tar.gz gst-plugins-bad-18b96b52334a9d71245a65dcdd1092d913284cb7.tar.bz2 gst-plugins-bad-18b96b52334a9d71245a65dcdd1092d913284cb7.zip |
gst/rtpmanager/gstrtpsession.c: Make compiler happy: fix compilation with -Wall -Werror (#473562).
Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
Make compiler happy: fix compilation with -Wall -Werror
(#473562).
Diffstat (limited to 'gst/rtpmanager')
-rw-r--r-- | gst/rtpmanager/gstrtpsession.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/rtpmanager/gstrtpsession.c b/gst/rtpmanager/gstrtpsession.c index e716682c..87948a4b 100644 --- a/gst/rtpmanager/gstrtpsession.c +++ b/gst/rtpmanager/gstrtpsession.c @@ -882,7 +882,7 @@ static gint gst_rtp_session_clock_rate (RTPSession * sess, guint8 payload, gpointer user_data) { - gint result = -1; + gint ipayload, result = -1; GstRtpSession *rtpsession; GstRtpSessionPrivate *priv; GValue ret = { 0 }; @@ -894,7 +894,8 @@ gst_rtp_session_clock_rate (RTPSession * sess, guint8 payload, priv = rtpsession->priv; GST_RTP_SESSION_LOCK (rtpsession); - caps = g_hash_table_lookup (priv->ptmap, GINT_TO_POINTER (payload)); + ipayload = payload; /* make compiler happy */ + caps = g_hash_table_lookup (priv->ptmap, GINT_TO_POINTER (ipayload)); if (caps) goto done; |