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
7e815047
Commit
7e815047
authored
Mar 23, 2006
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use 64bit types
Originally committed as revision 5202 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
5e6a5c4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mov.c
libavformat/mov.c
+2
-2
No files found.
libavformat/mov.c
View file @
7e815047
...
...
@@ -322,7 +322,7 @@ typedef struct MOVContext {
int
mp4
;
/* set to 1 as soon as we are sure that the file is an .mp4 file (even some header parsing depends on this) */
AVFormatContext
*
fc
;
int
time_scale
;
int
duration
;
/* duration of the longest track */
int
64_t
duration
;
/* duration of the longest track */
int
found_moov
;
/* when both 'moov' and 'mdat' sections has been found */
int
found_mdat
;
/* we suppose we have enough data to read the file */
int64_t
mdat_size
;
...
...
@@ -1282,7 +1282,7 @@ av_log(NULL, AV_LOG_DEBUG, "track[%i].stts.entries = %i\n", c->fc->nb_streams-1,
dprintf
(
"sample_count=%d, sample_duration=%d
\n
"
,
sample_count
,
sample_duration
);
duration
+=
sample_duration
*
sample_count
;
duration
+=
(
int64_t
)
sample_duration
*
sample_count
;
total_sample_count
+=
sample_count
;
}
...
...
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