Commit 1273848b authored by Brian Peters's avatar Brian Peters Committed by Tim-Philipp Müller

rtpbuffer: avoid accessing NULL buffer even more

Previous commit was incompletely applied.

https://bugzilla.gnome.org/show_bug.cgi?id=753001
parent 04c69952
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment