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).
This commit is contained in:
Tim-Philipp Müller 2007-09-04 15:23:34 +00:00
parent 11523b42f7
commit 18b96b5233
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2007-09-04 Tim-Philipp Müller <tim at centricular dot net>
* gst/rtpmanager/gstrtpsession.c:
Make compiler happy: fix compilation with -Wall -Werror
(#473562).
2007-09-03 Johan Dahlin <johan@gnome.org>
* gst/nsf/gstnsf.c: (gst_nsfdec_finalize), (start_play_tune):

View file

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