From a3cdfc06b59e638347edb728bc6f7980a28bb5c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 23 Dec 2024 15:17:57 +0100 Subject: [PATCH] srtpdec: fix build when libsrtp1 is being used Part-of: --- subprojects/gst-plugins-bad/ext/srtp/gstsrtpdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/ext/srtp/gstsrtpdec.c b/subprojects/gst-plugins-bad/ext/srtp/gstsrtpdec.c index 7bdd3d9503..8890335a5b 100644 --- a/subprojects/gst-plugins-bad/ext/srtp/gstsrtpdec.c +++ b/subprojects/gst-plugins-bad/ext/srtp/gstsrtpdec.c @@ -1390,7 +1390,7 @@ unprotect: guint16 seqnum = 0; GstRTPBuffer rtpbuf = GST_RTP_BUFFER_INIT; - gst_rtp_buffer_map (buf, + gst_rtp_buffer_map (*buf, GST_MAP_READ | GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING, &rtpbuf); seqnum = gst_rtp_buffer_get_seq (&rtpbuf); gst_rtp_buffer_unmap (&rtpbuf);