Curve::_get_vector: fix return value when veclen == 1
authorGuido Aulisi <guido.aulisi@gmail.com>
Sat, 16 Aug 2014 10:26:33 +0000 (12:26 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 19 Jan 2015 22:55:52 +0000 (23:55 +0100)
commitc6e71a683e6a685ed55c35670c6b4bfd20e38b5f
tree6011c7f180fe6c54664da259b2ac21f8b1a4852a
parent5190cbc9b2180ab3b98f3e1eb443653c50beecce
Curve::_get_vector: fix return value when veclen == 1

When the crossfade length is only 1 frame, I got strange
gain coefficients from get_vector (63 in my case).
The function wrongly returned the x axis value.
libs/evoral/src/Curve.cpp