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
d1ee2cf7
Commit
d1ee2cf7
authored
Aug 19, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nutenc: keep track of the written syncpoint count
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
8f9941b1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
nut.c
libavformat/nut.c
+2
-0
nut.h
libavformat/nut.h
+1
-0
No files found.
libavformat/nut.c
View file @
d1ee2cf7
...
...
@@ -141,6 +141,8 @@ void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts){
Syncpoint
*
sp
=
av_mallocz
(
sizeof
(
Syncpoint
));
struct
AVTreeNode
*
node
=
av_mallocz
(
av_tree_node_size
);
nut
->
sp_count
++
;
sp
->
pos
=
pos
;
sp
->
back_ptr
=
back_ptr
;
sp
->
ts
=
ts
;
...
...
libavformat/nut.h
View file @
d1ee2cf7
...
...
@@ -101,6 +101,7 @@ typedef struct {
int
header_count
;
AVRational
*
time_base
;
struct
AVTreeNode
*
syncpoints
;
int
sp_count
;
}
NUTContext
;
extern
const
AVCodecTag
ff_nut_subtitle_tags
[];
...
...
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