ffmpeg/fftools
Andreas Rheinhardt 5d71f97e0e all: Don't use ATOMIC_VAR_INIT
C11 required to use ATOMIC_VAR_INIT to statically initialize
atomic objects with static storage duration. Yet this macro
was unsuitable for initializing structures [1] and was actually
unneeded for all known implementations (this includes our
compatibility fallback implementations which simply wrap the value
in parentheses: #define ATOMIC_VAR_INIT(value) (value)).
Therefore C17 deprecated the macro and C23 actually removed it [2].

Since commit 5ff0eb34d2 we default
to C17 if the compiler supports it; Clang warns about ATOMIC_VAR_INIT
in this mode. Given that no implementation ever needed this macro,
this commit stops using it to avoid this warning.

[1]: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2396.htm#dr_485
[2]: https://en.cppreference.com/w/c/atomic/ATOMIC_VAR_INIT

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-03-28 09:12:48 +01:00
..
Makefile fftools/ffmpeg: add thread-aware transcode scheduling infrastructure 2023-12-12 08:24:18 +01:00
cmdutils.c fftools/cmdutils: do not use a random codec's private options 2024-03-28 08:40:01 +01:00
cmdutils.h fftools/ffmpeg: add loopback decoding 2024-03-13 08:01:27 +01:00
ffmpeg.c all: Don't use ATOMIC_VAR_INIT 2024-03-28 09:12:48 +01:00
ffmpeg.h fftools/ffmpeg_demux: make InputStream.autorotate private 2024-03-28 08:40:11 +01:00
ffmpeg_dec.c fftools/ffmpeg_dec: apply cropping manually 2024-03-28 08:40:01 +01:00
ffmpeg_demux.c fftools/ffmpeg_demux: make InputStream.autorotate private 2024-03-28 08:40:11 +01:00
ffmpeg_enc.c fftools/ffmpeg_enc: stop copying demuxer side data to the muxer 2024-03-28 08:40:11 +01:00
ffmpeg_filter.c fftools/ffmpeg_filter: remove display matrix if we have applied it 2024-03-28 08:40:01 +01:00
ffmpeg_hw.c fftools/ffmpeg: move hwaccel_retrieve_data() from ffmpeg_hw to ffmpeg_dec 2024-01-30 09:52:00 +01:00
ffmpeg_mux.c fftools/ffmpeg_enc: set AV_PKT_FLAG_TRUSTED on encoded packets 2024-03-13 08:01:28 +01:00
ffmpeg_mux.h fftools/ffmpeg: cosmetics, vertically align structs 2024-02-21 10:33:20 +01:00
ffmpeg_mux_init.c fftools/ffmpeg_mux_init: Fix double-free on error 2024-03-26 06:48:35 +01:00
ffmpeg_opt.c fftools/ffmpeg_opt: Check before accessing union member 2024-03-17 15:10:05 +01:00
ffmpeg_sched.c fftools/ffmpeg_sched: Explicitly return 0 on sch_enc_send() success 2024-03-28 03:06:13 +01:00
ffmpeg_sched.h ffmpeg: set extra_hw_frames to account for frames held in queues 2024-03-19 22:56:56 +00:00
ffmpeg_utils.h
ffplay.c fftools/ffplay: use correct buffersink channel layout parameters 2024-03-19 20:48:22 +01:00
ffplay_renderer.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
ffplay_renderer.h fftools/ffplay: add hwaccel decoding support 2023-11-15 01:20:11 +08:00
ffprobe.c ffprobe: adapt to new AVFilmGrainParams 2024-03-23 18:54:36 +01:00
fftools.manifest
fftoolsres.rc
fopen_utf8.h
objpool.c
objpool.h
opt_common.c fftools/opt_common: show if muxer is device 2024-03-11 16:52:42 +01:00
opt_common.h fftools/cmdutils: hide some information listing options from basic help 2024-01-20 10:37:32 +01:00
sync_queue.c fftools/ffmpeg_demux, sync_queue: Constify a bit 2024-03-02 02:51:59 +01:00
sync_queue.h
thread_queue.c
thread_queue.h