Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
01aa1937
Commit
01aa1937
authored
18 years ago
by
Baptiste Coudurier
Browse files
Options
Downloads
Patches
Plain Diff
make vars unsigned
Originally committed as revision 7690 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
64934877
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/mov.c
+9
-9
9 additions, 9 deletions
libavformat/mov.c
with
9 additions
and
9 deletions
libavformat/mov.c
+
9
−
9
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
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment