From 5044967382a0d411d74d66e1897449a2ebf4c4f0 Mon Sep 17 00:00:00 2001 From: Andrey Sazonov Date: Thu, 21 May 2020 11:24:51 +0000 Subject: [PATCH] sdpdemux: fix klocwork issues Part-of: --- gst/sdp/gstsdpdemux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index cb3647b208..1374bbb923 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -496,7 +496,7 @@ new_session_pad (GstElement * session, GstPad * pad, GstSDPDemux * demux) { gchar *name, *pad_name; GstPadTemplate *template; - gint id, ssrc, pt; + guint id, ssrc, pt; GList *lstream; GstSDPStream *stream; gboolean all_added; @@ -509,10 +509,10 @@ new_session_pad (GstElement * session, GstPad * pad, GstSDPDemux * demux) if (sscanf (name, "recv_rtp_src_%u_%u_%u", &id, &ssrc, &pt) != 3) goto unknown_stream; - GST_DEBUG_OBJECT (demux, "stream: %u, SSRC %d, PT %d", id, ssrc, pt); + GST_DEBUG_OBJECT (demux, "stream: %u, SSRC %u, PT %u", id, ssrc, pt); stream = - find_stream (demux, GINT_TO_POINTER (id), (gpointer) find_stream_by_id); + find_stream (demux, GUINT_TO_POINTER (id), (gpointer) find_stream_by_id); if (stream == NULL) goto unknown_stream;