vf_deshake: rename Transform.vector to Transform.vec to avoid compiler confusion

The token 'vector' is a keyword in the Vector/SIMD Multimedia Extension data types and thus should not be used as a variable name.

This fixes building on powerpc/ppc64el.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 739f179dd6)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Andreas Cadhalpun
2014-09-18 00:08:05 +02:00
committed by Michael Niedermayer
parent d694ab846c
commit dc4e34a2f0
2 changed files with 26 additions and 26 deletions

View File

@@ -48,7 +48,7 @@ typedef struct {
} MotionVector;
typedef struct {
MotionVector vector; ///< Motion vector
MotionVector vec; ///< Motion vector
double angle; ///< Angle of rotation
double zoom; ///< Zoom percentage
} Transform;