diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-06 15:43:55 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-10 07:29:15 +0200 |
commit | ba49acf143743bc9480566a52e94030cf38bfc75 (patch) | |
tree | 3c6bbef86d5dc35c471ba69ca0227d8024326d40 /libavformat/mux.h | |
parent | b9f6d416ecbed36fbe1b819d1099f71ba2936ddd (diff) |
avformat/mux_utils: Move ff_format_shift_data to new file for mux utils
It is only used by muxers. Given that it is not part of
the core muxing code and given that mux.c is already big enough,
it is moved to a new file for utility functions for muxing.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/mux.h')
-rw-r--r-- | libavformat/mux.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/mux.h b/libavformat/mux.h index 4f6e8a50e5..c220738942 100644 --- a/libavformat/mux.h +++ b/libavformat/mux.h @@ -96,4 +96,11 @@ enum AVWriteUncodedFrameFlags { }; +/** + * Make shift_size amount of space at read_start by shifting data in the output + * at read_start until the current IO position. The underlying IO context must + * be seekable. + */ +int ff_format_shift_data(AVFormatContext *s, int64_t read_start, int shift_size); + #endif /* AVFORMAT_MUX_H */ |