You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-05-21 16:47:28 +02:00
lavf: move internal functions from avformat.h to internal.h
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
committed by
Ronald S. Bultje
parent
b3190529df
commit
19711af5cd
@@ -1248,22 +1248,6 @@ void avformat_free_context(AVFormatContext *s);
|
||||
AVStream *av_new_stream(AVFormatContext *s, int id);
|
||||
AVProgram *av_new_program(AVFormatContext *s, int id);
|
||||
|
||||
/**
|
||||
* Add a new chapter.
|
||||
* This function is NOT part of the public API
|
||||
* and should ONLY be used by demuxers.
|
||||
*
|
||||
* @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 *ff_new_chapter(AVFormatContext *s, int id, AVRational time_base,
|
||||
int64_t start, int64_t end, const char *title);
|
||||
|
||||
/**
|
||||
* Set the pts for a given stream. If the new values would be invalid
|
||||
* (<= 0), it leaves the AVStream unchanged.
|
||||
@@ -1294,15 +1278,6 @@ int av_find_default_stream_index(AVFormatContext *s);
|
||||
*/
|
||||
int av_index_search_timestamp(AVStream *st, int64_t timestamp, int flags);
|
||||
|
||||
/**
|
||||
* Ensure the index uses less memory than the maximum specified in
|
||||
* AVFormatContext.max_index_size by discarding entries if it grows
|
||||
* too large.
|
||||
* This function is not part of the public API and should only be called
|
||||
* by demuxers.
|
||||
*/
|
||||
void ff_reduce_index(AVFormatContext *s, int stream_index);
|
||||
|
||||
/**
|
||||
* Add an index entry into a sorted list. Update the entry if the list
|
||||
* already contains it.
|
||||
|
||||
Reference in New Issue
Block a user