diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-04-10 13:57:46 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-04-17 12:00:06 +0200 |
commit | 9bae55165d583a09209b4826af8a8d9ac67511b0 (patch) | |
tree | 1acdcb3854dfc8a1d7a40e869275c14bd0ed897f /libavformat/sdxdec.c | |
parent | a7f26b1c63bcbf7a8b59ce1908c5af53215814f4 (diff) | |
download | ffmpeg-9bae55165d583a09209b4826af8a8d9ac67511b0.tar.gz |
fftools/ffmpeg_mux_init: restructure output stream creation
Creating a new output stream of a given type is currently done by
calling new_<type>_stream(), which all start by calling
new_output_stream() to allocate the stream and do common init, followed
by type-specific init.
Reverse this structure - the caller now calls the common function
ost_add() with the type as a parameter, which then calls the
type-specific function internally. This will allow adding common code
that runs after type-specific code in future commits.
Diffstat (limited to 'libavformat/sdxdec.c')
0 files changed, 0 insertions, 0 deletions