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
alldevices.c
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
alsa.c
alsa.h
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 avdevice/decklink_enc: add support for playout of 608 captions in MOV files 2023-05-11 22:06:20 +08:00
decklink_common_c.h avdevice/decklink_enc: add support for SMPTE 2038 VANC packet output 2023-07-02 19:57:45 +02:00
decklink_common.cpp avdevice/decklink_enc: add support for SMPTE 2038 VANC packet output 2023-07-02 19:57:45 +02:00
decklink_common.h avdevice/decklink_enc: add support for SMPTE 2038 VANC packet output 2023-07-02 19:57:45 +02:00
decklink_dec_c.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
decklink_dec.cpp avdevice/decklink_dec: add explicit specifier 2023-11-21 08:02:29 +08:00
decklink_dec.h
decklink_enc_c.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
decklink_enc.cpp avformat/vapoursynth: Add missing inclusion of frame.h 2023-09-10 17:32:11 +02:00
decklink_enc.h
dshow_capture.h configure: Set WIN32_LEAN_AND_MEAN at configure time 2023-08-14 22:57:28 +03:00
dshow_common.c
dshow_crossbar.c
dshow_enummediatypes.c
dshow_enumpins.c
dshow_filter.c
dshow_pin.c
dshow.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
fbdev_common.c avdevice/fbdev_common: Make declaration proper prototype 2023-09-28 11:10:35 +02:00
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
Makefile avdevice/decklink_enc: add support for playout of 608 captions in MOV files 2023-05-11 22:06:20 +08:00
openal-dec.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
opengl_enc_shaders.h
opengl_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
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
oss.c
oss.h
pulse_audio_common.c
pulse_audio_common.h avdevice/pulse_audio_common: Avoid inclusion of avcodec.h 2023-08-05 09:40:06 +02:00
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_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
sndio.c
sndio.h
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_major.h lavd: deprecate the bktr device 2024-02-02 15:40:35 +01:00
version.c
version.h Bump versions after 6.1 2023-10-29 16:19:14 +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