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
5c7a62ae
Commit
5c7a62ae
authored
Oct 15, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
movenc: fix tmcd parameters
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
5bac83da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
movenc.c
libavformat/movenc.c
+1
-1
mov
tests/ref/lavf/mov
+1
-1
No files found.
libavformat/movenc.c
View file @
5c7a62ae
...
...
@@ -1146,7 +1146,7 @@ static int mov_write_video_tag(AVIOContext *pb, MOVTrack *track)
static
int
mov_write_tmcd_tag
(
AVIOContext
*
pb
,
MOVTrack
*
track
)
{
int64_t
pos
=
avio_tell
(
pb
);
int
frame_duration
=
track
->
enc
->
time_base
.
num
;
int
frame_duration
=
av_rescale
(
track
->
timescale
,
track
->
enc
->
time_base
.
num
,
track
->
enc
->
time_base
.
den
)
;
int
nb_frames
=
(
track
->
timescale
+
frame_duration
/
2
)
/
frame_duration
;
avio_wb32
(
pb
,
0
);
/* size */
...
...
tests/ref/lavf/mov
View file @
5c7a62ae
fcbe7806047914d9751fd9053009df69 *./tests/data/lavf/lavf.mov
367365 ./tests/data/lavf/lavf.mov
./tests/data/lavf/lavf.mov CRC=0xb2f59ab4
d023fdd2149f75ef231180b6b0b0a988
*./tests/data/lavf/lavf.mov
72eac0051107a16e41d5263dab640f26
*./tests/data/lavf/lavf.mov
358455 ./tests/data/lavf/lavf.mov
./tests/data/lavf/lavf.mov CRC=0xb2f59ab4
cbc587335946df1f08d838f48ef396f0 *./tests/data/lavf/lavf.mov
...
...
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