mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 21:06:42 +00:00
e218bde9f9
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. |
||
---|---|---|
.. | ||
cmdutils.c | ||
cmdutils.h | ||
ffmpeg_dec.c | ||
ffmpeg_demux.c | ||
ffmpeg_enc.c | ||
ffmpeg_filter.c | ||
ffmpeg_hw.c | ||
ffmpeg_mux_init.c | ||
ffmpeg_mux.c | ||
ffmpeg_mux.h | ||
ffmpeg_opt.c | ||
ffmpeg_sched.c | ||
ffmpeg_sched.h | ||
ffmpeg_utils.h | ||
ffmpeg.c | ||
ffmpeg.h | ||
ffplay_renderer.c | ||
ffplay_renderer.h | ||
ffplay.c | ||
ffprobe.c | ||
fftools.manifest | ||
fftoolsres.rc | ||
fopen_utf8.h | ||
Makefile | ||
objpool.c | ||
objpool.h | ||
opt_common.c | ||
opt_common.h | ||
sync_queue.c | ||
sync_queue.h | ||
thread_queue.c | ||
thread_queue.h |