aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhddata.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-04-10 13:57:46 +0200
committerAnton Khirnov <anton@khirnov.net>2023-04-17 12:00:06 +0200
commit9bae55165d583a09209b4826af8a8d9ac67511b0 (patch)
tree1acdcb3854dfc8a1d7a40e869275c14bd0ed897f /libavcodec/dnxhddata.c
parenta7f26b1c63bcbf7a8b59ce1908c5af53215814f4 (diff)
downloadffmpeg-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 'libavcodec/dnxhddata.c')
0 files changed, 0 insertions, 0 deletions