diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-06 20:27:20 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-10 07:42:07 +0200 |
commit | ff0e8e14c3e9d1003153324d0368735dd84cb4b7 (patch) | |
tree | 23d2efbf83f17295cc44a50ef28bfa3d28009ac7 /libavformat/internal.h | |
parent | 8550a05ece37cbb777deb221cce43b5f3345137b (diff) |
avformat/utils: Move avpriv_new_chapter to demux_utils.c
It is demuxer-only: Muxers deal only with chapters given to them;
they don't create any of their own.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index cbd8b2170d..1a51c0dc97 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -564,20 +564,6 @@ void ff_parse_key_value(const char *str, ff_parse_key_val_cb callback_get_buf, */ int ff_find_stream_index(const AVFormatContext *s, int id); -/** - * Add a new chapter. - * - * @param s media file handle - * @param id unique ID for this chapter - * @param start chapter start time in time_base units - * @param end chapter end time in time_base units - * @param title chapter title - * - * @return AVChapter or NULL on error - */ -AVChapter *avpriv_new_chapter(AVFormatContext *s, int64_t id, AVRational time_base, - int64_t start, int64_t end, const char *title); - enum AVCodecID ff_guess_image2_codec(const char *filename); const AVCodec *ff_find_decoder(AVFormatContext *s, const AVStream *st, |