1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-02 03:06:28 +02:00
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 aarch64: Reindent all assembly to 8/24 column indentation 2023-10-21 23:25:54 +03:00
arm
tests
x86
audioconvert.c
audioconvert.h
dither_template.c
dither.c
libswresample.v
log2_tab.c
Makefile
noise_shaping_data.c
options.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
rematrix_template.c
rematrix.c
resample_dsp.c
resample_template.c
resample.c
resample.h
soxr_resample.c
swresample_frame.c
swresample_internal.h
swresample.c swr/swresample: avoid reapplication of firstpts 2023-12-18 15:47:04 +05:30
swresample.h
swresampleres.rc
version_major.h
version.c
version.h Bump versions after 6.1 2023-10-29 16:19:14 +01:00