mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
rtpjitterbuffer: Make it more explicit that update_rtx_timers() takes ownership of the passed in timer
It is not valid anymore afterwards and must not be used, otherwise an already freed pointer might be used. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2996>
This commit is contained in:
parent
646766629f
commit
773b7f61f2
1 changed files with 1 additions and 1 deletions
|
@ -3295,7 +3295,7 @@ gst_rtp_jitter_buffer_chain (GstPad * pad, GstObject * parent,
|
||||||
/* update rtx timers */
|
/* update rtx timers */
|
||||||
if (priv->do_retransmission)
|
if (priv->do_retransmission)
|
||||||
update_rtx_timers (jitterbuffer, seqnum, dts, pts, do_next_seqnum, is_rtx,
|
update_rtx_timers (jitterbuffer, seqnum, dts, pts, do_next_seqnum, is_rtx,
|
||||||
timer);
|
g_steal_pointer (&timer));
|
||||||
|
|
||||||
/* we had an unhandled SR, handle it now */
|
/* we had an unhandled SR, handle it now */
|
||||||
if (priv->last_sr)
|
if (priv->last_sr)
|
||||||
|
|
Loading…
Reference in a new issue