summaryrefslogtreecommitdiff
path: root/libavfilter/deshake.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2014-09-18 00:08:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-18 00:48:15 +0200
commit739f179dd6a21f3fcbd3d23d3d14cde9bb587ead (patch)
tree7051030fc5ec631a447bcbaa6bc8c15897499333 /libavfilter/deshake.h
parent55d11d277bf52b0c7f88f45f1d3fd336fa8c431f (diff)
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>
Diffstat (limited to 'libavfilter/deshake.h')
-rw-r--r--libavfilter/deshake.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/deshake.h b/libavfilter/deshake.h
index 62e81c3eaf..becd6c248b 100644
--- a/libavfilter/deshake.h
+++ b/libavfilter/deshake.h
@@ -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;