mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-04 23:30:05 +00:00
rtpbuffer: avoid accessing NULL buffer even more
Previous commit was incompletely applied. https://bugzilla.gnome.org/show_bug.cgi?id=753001
This commit is contained in:
parent
04c69952c0
commit
1273848bf5
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ ensure_buffers (GstRTPBuffer * rtp)
|
|||
|
||||
gst_rtp_buffer_unmap (rtp);
|
||||
gst_buffer_remove_memory_range (buf, pos, -1);
|
||||
gst_rtp_buffer_map (rtp->buffer, GST_MAP_READWRITE, rtp);
|
||||
gst_rtp_buffer_map (buf, GST_MAP_READWRITE, rtp);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue