diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-06 17:13:55 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-10 07:32:16 +0200 |
commit | 20ca491664513c936f7960473b833038b0d5ca99 (patch) | |
tree | 08b8e757687756d9b20b6d3b9249869ecef3997e /libavformat/mux.h | |
parent | 08c14e67bb1422a1075812be211360acc177a826 (diff) |
avformat/utils: Move ff_stream_encode_params_copy() to mux_utils.c
Only used by muxers.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/mux.h')
-rw-r--r-- | libavformat/mux.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/mux.h b/libavformat/mux.h index 1bfcaf795f..c01da82194 100644 --- a/libavformat/mux.h +++ b/libavformat/mux.h @@ -114,6 +114,15 @@ int ff_format_shift_data(AVFormatContext *s, int64_t read_start, int shift_size) int ff_format_output_open(AVFormatContext *s, const char *url, AVDictionary **options); /** + * Copy encoding parameters from source to destination stream + * + * @param dst pointer to destination AVStream + * @param src pointer to source AVStream + * @return >=0 on success, AVERROR code on error + */ +int ff_stream_encode_params_copy(AVStream *dst, const AVStream *src); + +/** * Parse creation_time in AVFormatContext metadata if exists and warn if the * parsing fails. * |