FFmpeg/fftools
Anton Khirnov e218bde9f9 fftools/ffmpeg: replace MATCH_PER_STREAM_OPT(.., str, ..) with a function
This has multiple advantages:
* The macro has multiple parameters that often have similar or identical
  values, yet very different meanings (one is the name of the
  OptionsContext member where the parsed options are stored, the other
  the name of the variable into which the result is written); this
  change makes each of these explicit.

* The macro returns on failure, which may cause leaks - this was the
  reason for adding MATCH_PER_STREAM_OPT_CLEAN(), also ost_add()
  currently leaks encoder_opts. The new function returns failure to its
  caller, which decides how to deal with it. While that adds a lot of
  error checks/forwards for now, those will be reduced in following
  commits.

* new code is type- and const- correct

Invocations of MATCH_PER_STREAM_OPT() with other types will be converted
in following commits.
2024-08-13 10:28:54 +02:00
..
cmdutils.c fftools/ffmpeg: replace MATCH_PER_STREAM_OPT(.., str, ..) with a function 2024-08-13 10:28:54 +02:00
cmdutils.h fftools/ffmpeg: replace MATCH_PER_STREAM_OPT(.., str, ..) with a function 2024-08-13 10:28:54 +02:00
ffmpeg_dec.c fftools/ffmpeg_dec: improve detection of lavf-guessed durations 2024-07-09 11:14:08 +02:00
ffmpeg_demux.c fftools/ffmpeg: replace MATCH_PER_STREAM_OPT(.., str, ..) with a function 2024-08-13 10:28:54 +02:00
ffmpeg_enc.c fftools/ffmpeg_mux_init: apply encoder options manually 2024-07-03 11:38:52 +02:00
ffmpeg_filter.c fftools/ffmpeg_filter: use the correct specifier for crop arguments 2024-07-18 23:27:20 -03:00
ffmpeg_hw.c
ffmpeg_mux_init.c fftools/ffmpeg: replace MATCH_PER_STREAM_OPT(.., str, ..) with a function 2024-08-13 10:28:54 +02:00
ffmpeg_mux.c fftools/ffmpeg_mux_init: make encoder_opts local to ost_add() 2024-07-03 11:38:52 +02:00
ffmpeg_mux.h fftools/ffmpeg: replace MATCH_PER_STREAM_OPT(.., str, ..) with a function 2024-08-13 10:28:54 +02:00
ffmpeg_opt.c fftools/ffmpeg: replace MATCH_PER_STREAM_OPT(.., str, ..) with a function 2024-08-13 10:28:54 +02:00
ffmpeg_sched.c fftools/ffmpeg_sched: Remove dead assignments in sch_dec_send() 2024-07-02 21:57:20 +02:00
ffmpeg_sched.h
ffmpeg_utils.h fftools/ffmpeg: prefer real errors over EOF in err_merge() 2024-07-24 08:20:21 +02:00
ffmpeg.c ffmpeg: don't truncate getmaxrss value 2024-07-15 15:15:55 +05:30
ffmpeg.h fftools/ffmpeg: replace MATCH_PER_STREAM_OPT(.., str, ..) with a function 2024-08-13 10:28:54 +02:00
ffplay_renderer.c fftools/ffplay_renderer: use correct NULL value for Vulkan type 2024-06-25 00:19:03 +02:00
ffplay_renderer.h
ffplay.c fftools/ffmpeg: rewrite checking whether codec AVOptions have been used 2024-07-03 11:38:52 +02:00
ffprobe.c fftools/ffprobe: implement dv_md_compression 2024-07-28 12:20:07 +02:00
fftools.manifest
fftoolsres.rc
fopen_utf8.h
Makefile
objpool.c
objpool.h
opt_common.c tools/opt_common: Check for malloc failure 2024-05-09 16:17:40 +02:00
opt_common.h
sync_queue.c
sync_queue.h
thread_queue.c
thread_queue.h