diff options
author | Jan Sebechlebsky <sebechlebskyjan@gmail.com> | 2016-07-13 18:00:11 +0300 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2016-07-16 02:15:00 +0300 |
commit | 1732d89403b724f56c1e35794c66890eeaf76341 (patch) | |
tree | 953098081e49278a0a171b0eeed5b2483cbcb521 /libavformat/internal.h | |
parent | d52dd768a3228081e85b15b93d92b3ccb1df278f (diff) |
avformat/utils: Add ff_stream_encode_params_copy()
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 647ad65fb2..1b44beafb3 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -491,6 +491,15 @@ int ff_generate_avci_extradata(AVStream *st); int ff_stream_add_bitstream_filter(AVStream *st, const char *name, const char *args); /** + * 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); + +/** * Wrap errno on rename() error. * * @param oldpath source path |