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
21f52609
Commit
21f52609
authored
Apr 07, 2004
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support for -timestamp
Originally committed as revision 2978 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
00a3c8b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
movenc.c
libavformat/movenc.c
+2
-6
No files found.
libavformat/movenc.c
View file @
21f52609
...
...
@@ -949,10 +949,6 @@ static int mov_write_header(AVFormatContext *s)
return
0
;
}
static
int
Timestamp
(
void
)
{
return
1067949799U
+
(
24107
*
86400
);
//its the modification time of this line :)
}
static
int
mov_write_packet
(
AVFormatContext
*
s
,
int
stream_index
,
const
uint8_t
*
buf
,
int
size
,
int64_t
pts
)
{
...
...
@@ -994,7 +990,7 @@ static int mov_write_packet(AVFormatContext *s, int stream_index,
if
((
enc
->
codec_id
==
CODEC_ID_MPEG4
||
enc
->
codec_id
==
CODEC_ID_AAC
)
&&
trk
->
vosLen
==
0
)
{
assert
(
enc
->
extradata_size
);
//
assert(enc->extradata_size);
trk
->
vosLen
=
enc
->
extradata_size
;
trk
->
vosData
=
av_malloc
(
trk
->
vosLen
);
...
...
@@ -1016,7 +1012,7 @@ static int mov_write_packet(AVFormatContext *s, int stream_index,
if
(
mov
->
mdat_written
==
0
)
{
mov_write_mdat_tag
(
pb
,
mov
);
mov
->
mdat_written
=
1
;
mov
->
time
=
Timestamp
()
;
mov
->
time
=
s
->
timestamp
;
}
trk
->
cluster
[
cl
][
id
].
pos
=
url_ftell
(
pb
);
...
...
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