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
55f9037f
Commit
55f9037f
authored
Sep 30, 2012
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: split muxing functions from util.c
parent
bfcd4b6a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
580 additions
and
517 deletions
+580
-517
Makefile
libavformat/Makefile
+1
-0
internal.h
libavformat/internal.h
+9
-0
mux.c
libavformat/mux.c
+564
-0
utils.c
libavformat/utils.c
+6
-517
No files found.
libavformat/Makefile
View file @
55f9037f
...
...
@@ -12,6 +12,7 @@ OBJS = allformats.o \
id3v1.o
\
id3v2.o
\
metadata.o
\
mux.o
\
options.o
\
os_support.o
\
riff.o
\
...
...
libavformat/internal.h
View file @
55f9037f
...
...
@@ -345,4 +345,13 @@ int ff_read_packet(AVFormatContext *s, AVPacket *pkt);
int
ff_interleave_packet_per_dts
(
AVFormatContext
*
s
,
AVPacket
*
out
,
AVPacket
*
pkt
,
int
flush
);
/**
* Return the frame duration in seconds. Return 0 if not available.
*/
void
ff_compute_frame_duration
(
int
*
pnum
,
int
*
pden
,
AVStream
*
st
,
AVCodecParserContext
*
pc
,
AVPacket
*
pkt
);
int
ff_get_audio_frame_size
(
AVCodecContext
*
enc
,
int
size
,
int
mux
);
#endif
/* AVFORMAT_INTERNAL_H */
libavformat/mux.c
0 → 100644
View file @
55f9037f
This diff is collapsed.
Click to expand it.
libavformat/utils.c
View file @
55f9037f
This diff is collapsed.
Click to expand it.
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