1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavutil
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
..
2023-03-26 01:46:39 +01:00
2021-04-27 10:43:13 -03:00
2023-07-12 15:35:37 +02:00
2022-09-13 16:50:43 -03:00
2023-09-07 00:42:10 +02:00
2022-11-06 08:26:50 +01:00
2023-11-18 19:55:42 +01:00
2023-09-02 02:49:06 +02:00
2023-09-02 02:49:06 +02:00
2023-08-08 09:46:11 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2022-10-17 09:56:47 +02:00
2021-07-22 14:34:31 +02:00
2022-02-24 12:56:49 +01:00
2021-07-21 16:35:27 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2024-01-16 01:34:57 +01:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2023-07-22 21:35:15 +03:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2022-10-17 09:51:47 +02:00
2023-09-07 00:42:10 +02:00
2023-09-01 23:59:10 +02:00
2023-08-08 09:46:11 +02:00
2023-08-08 09:46:11 +02:00