ffmpeg/libavdevice
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
..
tests
.gitignore
Makefile
alldevices.c
alsa.c
alsa.h
alsa_dec.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
alsa_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
android_camera.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
audiotoolbox.m Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
avdevice.c
avdevice.h
avdeviceres.rc
avfoundation.m Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
bktr.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
caca.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
ccfifo.c
decklink_common.cpp
decklink_common.h
decklink_common_c.h
decklink_dec.cpp avdevice/decklink_dec: add explicit specifier 2023-11-21 08:02:29 +08:00
decklink_dec.h
decklink_dec_c.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
decklink_enc.cpp
decklink_enc.h
decklink_enc_c.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
dshow.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
dshow_capture.h
dshow_common.c
dshow_crossbar.c
dshow_enummediatypes.c
dshow_enumpins.c
dshow_filter.c
dshow_pin.c
fbdev_common.c
fbdev_common.h
fbdev_dec.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
fbdev_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
file_open.c
gdigrab.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
iec61883.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
internal.h
jack.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
kmsgrab.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
lavfi.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
libavdevice.v
libcdio.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
libdc1394.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
openal-dec.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
opengl_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
opengl_enc_shaders.h
oss.c
oss.h
oss_dec.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
oss_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
pulse_audio_common.c
pulse_audio_common.h
pulse_audio_dec.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
pulse_audio_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
reverse.c
sdl2.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
sndio.c
sndio.h
sndio_dec.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
sndio_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
timefilter.c
timefilter.h
utils.c
v4l2-common.c
v4l2-common.h
v4l2.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
v4l2enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
version.c
version.h
version_major.h lavd: deprecate the bktr device 2024-02-02 15:40:35 +01:00
vfwcap.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
xcbgrab.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
xv.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00