ffmpeg/libswresample
Andreas Rheinhardt 40e6575aa3 all: Replace if (ARCH_FOO) checks by #if ARCH_FOO
This is more spec-compliant because it does not rely
on dead-code elimination by the compiler. Especially
MSVC has problems with this, as can be seen in
https://ffmpeg.org/pipermail/ffmpeg-devel/2022-May/296373.html
or
https://ffmpeg.org/pipermail/ffmpeg-devel/2022-May/297022.html

This commit does not eliminate every instance where we rely
on dead code elimination: It only tackles branching to
the initialization of arch-specific dsp code, not e.g. all
uses of CONFIG_ and HAVE_ checks. But maybe it is already
enough to compile FFmpeg with MSVC with whole-programm-optimizations
enabled (if one does not disable too many components).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-06-15 04:56:37 +02:00
..
aarch64
arm
tests
x86 swresample/x86/resample: Remove obsolete MMXEXT functions 2022-06-14 01:28:29 +02:00
audioconvert.c all: Replace if (ARCH_FOO) checks by #if ARCH_FOO 2022-06-15 04:56:37 +02:00
audioconvert.h
dither_template.c
dither.c
libswresample.v
log2_tab.c
Makefile lib*/version: Move library version functions into files of their own 2022-05-10 06:49:32 +02:00
noise_shaping_data.c
options.c
rematrix_template.c
rematrix.c all: Replace if (ARCH_FOO) checks by #if ARCH_FOO 2022-06-15 04:56:37 +02:00
resample_dsp.c all: Replace if (ARCH_FOO) checks by #if ARCH_FOO 2022-06-15 04:56:37 +02:00
resample_template.c
resample.c swresample/resample: Remove unnecessary emms_c 2022-06-14 01:28:29 +02:00
resample.h
soxr_resample.c
swresample_frame.c
swresample_internal.h
swresample.c lib*/version: Move library version functions into files of their own 2022-05-10 06:49:32 +02:00
swresample.h Keep including the full version.h when headers are included externally 2022-03-19 00:01:57 +02:00
swresampleres.rc
version_major.h libswresample: Split version.h 2022-03-16 14:05:26 +02:00
version.c lib*/version: Move library version functions into files of their own 2022-05-10 06:49:32 +02:00
version.h doc: Add an entry to APIchanges about changes to version.h and version_major.h 2022-03-16 14:12:46 +02:00