srtpdec: fix build when libsrtp1 is being used

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8204>
This commit is contained in:
Tim-Philipp Müller 2024-12-23 15:17:57 +01:00 committed by GStreamer Marge Bot
parent d4bfbdcfb4
commit a3cdfc06b5

View file

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