rtpsconnection: Fix number of n_vectors
authorGöran Jönsson <goranjn@axis.com>
Thu, 27 Jun 2019 06:04:07 +0000 (08:04 +0200)
committerGöran Jönsson <goranjn@axis.com>
Thu, 27 Jun 2019 11:18:06 +0000 (13:18 +0200)
commit35f2ea21e6a483c67027e7f1e2e67612f6707ba7
treeadc6be4fed5bfcf0287dbca0c86d9e4270192b23
parent12d534bada0a5e091e2b1c3cc4046cea62540595
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