diff options
author | Daniel Kolesa <daniel@octaforge.org> | 2019-08-07 19:39:07 +0200 |
---|---|---|
committer | Lauri Kasanen <cand@gmx.com> | 2019-10-04 08:58:17 +0300 |
commit | e6625ca41f85ed10b3108d37bd897f0ae063250e (patch) | |
tree | 5abb277cef34b5a6bfb278e1dff783a99afce5c2 /COPYING.GPLv3 | |
parent | 1bdb47b73484dd21ee1bf493d79ac26384eda05e (diff) | |
download | ffmpeg-e6625ca41f85ed10b3108d37bd897f0ae063250e.tar.gz |
swscale: Fix AltiVec/VSX build with recent GCC
The argument to vec_splat_u16 must be a literal. By making the
function always inline and marking the arguments const, gcc can
turn those into literals, and avoid build errors like:
swscale_vsx.c:165:53: error: argument 1 must be a 5-bit signed literal
Fixes #7861.
Signed-off-by: Daniel Kolesa <daniel@octaforge.org>
Signed-off-by: Lauri Kasanen <cand@gmx.com>
Diffstat (limited to 'COPYING.GPLv3')
0 files changed, 0 insertions, 0 deletions