1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-02 03:06:28 +02:00
FFmpeg/libavcodec/bsf
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
..
aac_adtstoasc.c
av1_frame_merge.c
av1_frame_split.c
av1_metadata.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
chomp.c
dca_core.c
dts2pts.c
dump_extradata.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
dv_error_marker.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
eac3_core.c
evc_frame_merge.c
extract_extradata.c
filter_units.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
h264_metadata.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
h264_mp4toannexb.c
h264_redundant_pps.c
h265_metadata.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
h266_metadata.c
hapqa_extract.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
hevc_mp4toannexb.c avcodec/hevc_mp4toannexb: more validations for nalu_len 2024-02-11 22:50:01 +08:00
imx_dump_header.c
Makefile lavc/bsf: add a showinfo filter 2024-02-02 15:41:54 +01:00
media100_to_mjpegb.c
mjpeg2jpeg.c
mjpega_dump_header.c
movsub.c
mp3_header_decompress.c
mpeg2_metadata.c
mpeg4_unpack_bframes.c
noise.c
null.c
opus_metadata.c
pcm_rechunk.c
pgs_frame_merge.c
prores_metadata.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
remove_extradata.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
setts.c
showinfo.c lavc/bsf: add a showinfo filter 2024-02-02 15:41:54 +01:00
trace_headers.c
truehd_core.c
vp9_metadata.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
vp9_raw_reorder.c
vp9_superframe_split.c
vp9_superframe.c
vvc_mp4toannexb.c avcodec/vvc_mp4toannexb: more validations for nalu_len 2024-02-11 22:49:51 +08:00