1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
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 lavfi,lavd: add gitignore for generated static component lists 2018-04-05 22:08:53 +01:00
alldevices.c avformat/avformat: Move AVOutputFormat internals out of public header 2023-02-09 15:24:15 +01:00
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 configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
alsa.h avdevice/alsa_dec: make sure we have enough data in non-blocking mode 2021-03-12 23:55:30 +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: remove FF_API_DEVICE_CAPABILITIES 2023-02-09 15:35:14 +01:00
avdevice.h avdevice: remove FF_API_DEVICE_CAPABILITIES 2023-02-09 15:35:14 +01:00
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 avdevice/decklink_(common_c|dec|enc).h: Fix checkheaders 2022-02-21 13:09:48 +01:00
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 avdevice/decklink_(common_c|dec|enc).h: Fix checkheaders 2022-02-21 13:09:48 +01:00
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 avdevice/dshow: tv_tuner_audio_dialog cleanup missing 2022-01-04 17:40:29 +05:30
dshow_enummediatypes.c avdevice/dshow: fix crash on x86 2022-01-04 17:40:54 +05:30
dshow_enumpins.c avdevice/dshow: fix crash on x86 2022-01-04 17:40:54 +05:30
dshow_filter.c avdevice/dshow: fix crash on x86 2022-01-04 17:40:54 +05:30
dshow_pin.c avdevice/dshow: fix crash on x86 2022-01-04 17:40:54 +05:30
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 avformat: Constify the API wrt AV(In|Out)putFormat 2021-04-27 10:43:08 -03:00
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 avutil/internal: Move avpriv-file API to a header of its own 2022-09-03 15:41:44 +02:00
oss.h avdevice/oss_dec: account for sample size when computing timestamp 2022-06-19 23:01:20 +02:00
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 Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
timefilter.h avdevice/timefilter: remove obsolete comments from the docs 2021-02-27 21:30:41 +01:00
utils.c avformat: Constify the API wrt AV(In|Out)putFormat 2021-04-27 10:43:08 -03:00
v4l2-common.c lavd/v4l2-common: Add an entry for Z16. 2019-03-22 12:30:47 +01:00
v4l2-common.h avdevice/v4l2*: Improve included headers 2022-05-10 07:38:01 +02:00
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 lib*/version: Move library version functions into files of their own 2022-05-10 06:49:32 +02:00
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