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
@ -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…
x
Reference in New Issue
Block a user