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
01aa1937
Commit
01aa1937
authored
Jan 24, 2007
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make vars unsigned
Originally committed as revision 7690 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
64934877
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
mov.c
libavformat/mov.c
+9
-9
No files found.
libavformat/mov.c
View file @
01aa1937
...
...
@@ -1477,16 +1477,16 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
MOVStreamContext
*
sc
=
st
->
priv_data
;
offset_t
current_offset
;
int64_t
current_dts
=
0
;
int
stts_index
=
0
;
int
stsc_index
=
0
;
int
stss_index
=
0
;
int
i
,
j
,
k
;
unsigned
int
stts_index
=
0
;
unsigned
int
stsc_index
=
0
;
unsigned
int
stss_index
=
0
;
unsigned
int
i
,
j
,
k
;
if
(
sc
->
sample_sizes
||
st
->
codec
->
codec_type
==
CODEC_TYPE_VIDEO
||
sc
->
dv_audio_container
)
{
int
keyframe
,
sample_size
;
int
current
_sample
=
0
;
int
stts_sample
=
0
;
int
distance
=
0
;
unsigned
int
current_sample
=
0
;
unsigned
int
stts
_sample
=
0
;
unsigned
int
keyframe
,
sample_size
;
unsigned
int
distance
=
0
;
st
->
nb_frames
=
sc
->
sample_count
;
for
(
i
=
0
;
i
<
sc
->
chunk_count
;
i
++
)
{
...
...
@@ -1521,7 +1521,7 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
}
}
}
else
{
/* read whole chunk */
int
chunk_samples
,
chunk_size
,
chunk_duration
;
unsigned
int
chunk_samples
,
chunk_size
,
chunk_duration
;
for
(
i
=
0
;
i
<
sc
->
chunk_count
;
i
++
)
{
current_offset
=
sc
->
chunk_offsets
[
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