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
c4f078ff
Commit
c4f078ff
authored
May 29, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reindent
Originally committed as revision 13518 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e95580e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
movenc.c
libavformat/movenc.c
+6
-6
No files found.
libavformat/movenc.c
View file @
c4f078ff
...
...
@@ -1607,12 +1607,12 @@ static int mov_write_packet(AVFormatContext *s, AVPacket *pkt)
trk
->
cluster
[
trk
->
entry
].
dts
=
pkt
->
dts
;
trk
->
trackDuration
=
pkt
->
dts
-
trk
->
cluster
[
0
].
dts
+
pkt
->
duration
;
if
(
pkt
->
dts
!=
pkt
->
pts
)
trk
->
hasBframes
=
1
;
trk
->
cluster
[
trk
->
entry
].
cts
=
pkt
->
pts
-
pkt
->
dts
;
trk
->
cluster
[
trk
->
entry
].
key_frame
=
!!
(
pkt
->
flags
&
PKT_FLAG_KEY
);
if
(
trk
->
cluster
[
trk
->
entry
].
key_frame
)
trk
->
hasKeyframes
++
;
if
(
pkt
->
dts
!=
pkt
->
pts
)
trk
->
hasBframes
=
1
;
trk
->
cluster
[
trk
->
entry
].
cts
=
pkt
->
pts
-
pkt
->
dts
;
trk
->
cluster
[
trk
->
entry
].
key_frame
=
!!
(
pkt
->
flags
&
PKT_FLAG_KEY
);
if
(
trk
->
cluster
[
trk
->
entry
].
key_frame
)
trk
->
hasKeyframes
++
;
trk
->
entry
++
;
trk
->
sampleCount
+=
samplesInChunk
;
mov
->
mdat_size
+=
size
;
...
...
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