Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
19711af5
Commit
19711af5
authored
Feb 06, 2011
by
Anton Khirnov
Committed by
Ronald S. Bultje
Feb 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: move internal functions from avformat.h to internal.h
Signed-off-by:
Ronald S. Bultje
<
rsbultje@gmail.com
>
parent
b3190529
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
25 deletions
+24
-25
avformat.h
libavformat/avformat.h
+0
-25
ffmetadec.c
libavformat/ffmetadec.c
+1
-0
internal.h
libavformat/internal.h
+21
-0
mpeg.c
libavformat/mpeg.c
+1
-0
oggparsevorbis.c
libavformat/oggparsevorbis.c
+1
-0
No files found.
libavformat/avformat.h
View file @
19711af5
...
...
@@ -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.
...
...
libavformat/ffmetadec.c
View file @
19711af5
...
...
@@ -21,6 +21,7 @@
#include "avformat.h"
#include "ffmeta.h"
#include "internal.h"
static
int
probe
(
AVProbeData
*
p
)
{
...
...
libavformat/internal.h
View file @
19711af5
...
...
@@ -240,4 +240,25 @@ int ff_add_index_entry(AVIndexEntry **index_entries,
unsigned
int
*
index_entries_allocated_size
,
int64_t
pos
,
int64_t
timestamp
,
int
size
,
int
distance
,
int
flags
);
/**
* 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
*
ff_new_chapter
(
AVFormatContext
*
s
,
int
id
,
AVRational
time_base
,
int64_t
start
,
int64_t
end
,
const
char
*
title
);
/**
* Ensure the index uses less memory than the maximum specified in
* AVFormatContext.max_index_size by discarding entries if it grows
* too large.
*/
void
ff_reduce_index
(
AVFormatContext
*
s
,
int
stream_index
);
#endif
/* AVFORMAT_INTERNAL_H */
libavformat/mpeg.c
View file @
19711af5
...
...
@@ -20,6 +20,7 @@
*/
#include "avformat.h"
#include "internal.h"
#include "mpeg.h"
//#define DEBUG_SEEK
...
...
libavformat/oggparsevorbis.c
View file @
19711af5
...
...
@@ -28,6 +28,7 @@
#include "libavcodec/get_bits.h"
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"
#include "vorbiscomment.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment