ffmpeg/libswresample
Anton Khirnov 1e7d2007c3 all: use designated initializers for AVOption.unit
Makes it robust against adding fields before it, which will be useful in
following commits.

Majority of the patch generated by the following Coccinelle script:

@@
typedef AVOption;
identifier arr_name;
initializer list il;
initializer list[8] il1;
expression tail;
@@
AVOption arr_name[] = { il, { il1,
- tail
+ .unit = tail
}, ...  };

with some manual changes, as the script:
* has trouble with options defined inside macros
* sometimes does not handle options under an #else branch
* sometimes swallows whitespace
2024-02-14 14:53:41 +01:00
..
aarch64
arm
tests
x86
Makefile
audioconvert.c
audioconvert.h
dither.c
dither_template.c
libswresample.v
log2_tab.c
noise_shaping_data.c
options.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
rematrix.c
rematrix_template.c
resample.c
resample.h
resample_dsp.c
resample_template.c
soxr_resample.c
swresample.c
swresample.h
swresample_frame.c
swresample_internal.h
swresampleres.rc
version.c
version.h
version_major.h