diff options
author | Brian Peters <brianfpeters@gmail.com> | 2015-07-30 15:16:57 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-07-30 15:16:57 +0100 |
commit | 1273848bf51a37b1be2eb5b30de2bd78d32bf2be (patch) | |
tree | 5dc926920f5236d0c6730693efb51a95cf5e37ad /gst-libs | |
parent | 04c69952c05bde13289fa1c0630687e2dd5b3c93 (diff) |
rtpbuffer: avoid accessing NULL buffer even more
Previous commit was incompletely applied.
https://bugzilla.gnome.org/show_bug.cgi?id=753001
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/rtp/gstrtpbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/rtp/gstrtpbuffer.c b/gst-libs/gst/rtp/gstrtpbuffer.c index 51b323ee1..a61051e81 100644 --- a/gst-libs/gst/rtp/gstrtpbuffer.c +++ b/gst-libs/gst/rtp/gstrtpbuffer.c @@ -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); } } |