Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
b9eab800
Commit
b9eab800
authored
May 23, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVI: move i_rate to unsigned
parent
29ac7d73
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+2
-2
No files found.
modules/demux/avi/avi.c
View file @
b9eab800
...
@@ -145,7 +145,7 @@ typedef struct
...
@@ -145,7 +145,7 @@ typedef struct
unsigned
int
i_cat
;
/* AUDIO_ES, VIDEO_ES */
unsigned
int
i_cat
;
/* AUDIO_ES, VIDEO_ES */
vlc_fourcc_t
i_codec
;
vlc_fourcc_t
i_codec
;
int
i_rate
;
unsigned
int
i_rate
;
int
i_scale
;
int
i_scale
;
unsigned
int
i_samplesize
;
unsigned
int
i_samplesize
;
...
@@ -784,7 +784,7 @@ aviindex:
...
@@ -784,7 +784,7 @@ aviindex:
p_auds
=
AVI_ChunkFind
(
p_strl
,
AVIFOURCC_strf
,
0
);
p_auds
=
AVI_ChunkFind
(
p_strl
,
AVIFOURCC_strf
,
0
);
if
(
p_auds
->
p_wf
->
wFormatTag
!=
WAVE_FORMAT_PCM
&&
if
(
p_auds
->
p_wf
->
wFormatTag
!=
WAVE_FORMAT_PCM
&&
(
unsigned
int
)
tk
->
i_rate
==
p_auds
->
p_wf
->
nSamplesPerSec
)
tk
->
i_rate
==
p_auds
->
p_wf
->
nSamplesPerSec
)
{
{
int64_t
i_track_length
=
int64_t
i_track_length
=
tk
->
idx
.
p_entry
[
tk
->
idx
.
i_size
-
1
].
i_length
+
tk
->
idx
.
p_entry
[
tk
->
idx
.
i_size
-
1
].
i_length
+
...
...
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