[FFmpeg-devel] [PATCH] vf_deshake: rename Transform.vector to Transform.vec to avoid compiler confusion

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Thu Sep 18 00:16:42 CEST 2014


Hi,

FFmpeg failed to build in Debian on powerpc/ppc64el with the following 
error:
libavfilter/deshake.h:51:24: warning: declaration does not declare anything
      MotionVector vector;  ///< Motion vector
                         ^
libavfilter/vf_deshake.c: In function 'find_motion':
libavfilter/vf_deshake.c:297:20: error: expected identifier before 
'__attribute__'
                  t->vector.x = x - deshake->rx;
                     ^

Attached patch fixes this problem by renaming vector to vec.

Best regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vf_deshake-rename-Transform.vector-to-Transform.vec-.patch
Type: text/x-diff
Size: 6696 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140918/0cdea8e7/attachment.bin>


More information about the ffmpeg-devel mailing list