diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-08-12 03:14:55 +0200 |
---|---|---|
committer | Ruiling Song <ruiling.song@intel.com> | 2019-08-14 14:37:47 +0800 |
commit | 8fcc5d963ebc5a9b8ee21fc79e5f3526f62a605d (patch) | |
tree | f91899df5268082069fdbf658b6bb83b13fc0a76 /libavcodec/internal.h | |
parent | 52939a2c5772ec00101d293695d0a96dcccf99d9 (diff) | |
download | ffmpeg-8fcc5d963ebc5a9b8ee21fc79e5f3526f62a605d.tar.gz |
avfilter/vf_convolution: Fix build failures
98e419cb added SIMD for the convolution filter for x64 systems. As
usual, it used a check of the form
if (ARCH_X86_64)
ff_convolution_init_x86(s);
and thereby relied on the compiler eliminating this pseudo-runtime check
at compiletime for non x64 systems (for which ff_convolution_init_x86
isn't defined) to compile. But vf_convolution.c contains more than one
filter and if the convolution filter is disabled, but one of the other
filters (prewitt, sobel, roberts) is enabled, the build will fail on x64,
because ff_convolution_init_x86 isn't defined in this case.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/internal.h')
0 files changed, 0 insertions, 0 deletions