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
638fd2fc
Commit
638fd2fc
authored
Mar 21, 2007
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics
Originally committed as revision 8463 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2d2432b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mov.c
libavformat/mov.c
+5
-5
No files found.
libavformat/mov.c
View file @
638fd2fc
...
...
@@ -1513,17 +1513,17 @@ static int mov_read_header(AVFormatContext *s, AVFormatParameters *ap)
sc
->
time_rate
=
1
;
if
(
!
sc
->
time_scale
)
sc
->
time_scale
=
mov
->
time_scale
;
av_set_pts_info
(
s
->
streams
[
i
]
,
64
,
sc
->
time_rate
,
sc
->
time_scale
);
av_set_pts_info
(
s
t
,
64
,
sc
->
time_rate
,
sc
->
time_scale
);
if
(
st
->
codec
->
codec_type
==
CODEC_TYPE_AUDIO
&&
sc
->
stts_count
==
1
)
st
->
codec
->
frame_size
=
sc
->
stts_data
[
0
].
duration
;
if
(
s
->
streams
[
i
]
->
duration
!=
AV_NOPTS_VALUE
){
assert
(
s
->
streams
[
i
]
->
duration
%
sc
->
time_rate
==
0
);
s
->
streams
[
i
]
->
duration
/=
sc
->
time_rate
;
if
(
s
t
->
duration
!=
AV_NOPTS_VALUE
){
assert
(
s
t
->
duration
%
sc
->
time_rate
==
0
);
s
t
->
duration
/=
sc
->
time_rate
;
}
sc
->
ffindex
=
i
;
mov_build_index
(
mov
,
s
->
streams
[
i
]
);
mov_build_index
(
mov
,
s
t
);
}
for
(
i
=
0
;
i
<
mov
->
total_streams
;
i
++
)
{
...
...
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