mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
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:
parent
e7b6212c51
commit
aa8985d1e4
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue