rtpsconnection: Fix number of n_vectors
authorGöran Jönsson <goranjn@axis.com>
Thu, 27 Jun 2019 06:04:07 +0000 (08:04 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 10 Aug 2019 13:50:40 +0000 (14:50 +0100)
commitb2d6893455bbb43b9b527bb7b7f0674d1df8bf21
treeae2a901cf18cb9f716b6330ecb70bda0f611ab9b
parent2bd1107045e312d5fc7d027098b057863eb8f1ea
rtpsconnection: Fix number of n_vectors

Body_offset mean that so much data have been written.

Without this patch n_vectors somtimes  becomes one more than it should
and then there will be an vector that have a random size causing
writev_bytes to cause a "Bad address" error.
gst-libs/gst/rtsp/gstrtspconnection.c