Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
3e05da4f
Commit
3e05da4f
authored
Aug 20, 2009
by
Pierre
Browse files
avi: Fix a warning about bad function type cast.
parent
260dd07f
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/avi/avi.c
View file @
3e05da4f
...
...
@@ -2371,8 +2371,9 @@ static void AVI_IndexCreate( demux_t *p_demux )
if
(
dialog_ProgressCancelled
(
p_dialog
)
)
break
;
float
f_pos
=
(
float
)
stream_Tell
(
p_demux
->
s
)
/
(
float
)
stream_Size
(
p_demux
->
s
);
double
current
=
stream_Tell
(
p_demux
->
s
);
double
size
=
stream_Size
(
p_demux
->
s
);
double
f_pos
=
current
/
size
;
dialog_ProgressSet
(
p_dialog
,
NULL
,
f_pos
);
i_dialog_update
=
mdate
();
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment