Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
75171d2b
Commit
75171d2b
authored
Aug 24, 2009
by
Laurent Aimar
Browse files
Workaround warning on function returned value casted.
parent
9ae21742
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/nuv.c
View file @
75171d2b
...
@@ -461,9 +461,14 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
...
@@ -461,9 +461,14 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{
{
i64
=
stream_Size
(
p_demux
->
s
);
i64
=
stream_Size
(
p_demux
->
s
);
if
(
i64
>
0
)
if
(
i64
>
0
)
*
pf
=
(
double
)
stream_Tell
(
p_demux
->
s
)
/
(
double
)
i64
;
{
const
double
f_current
=
stream_Tell
(
p_demux
->
s
);
*
pf
=
f_current
/
(
double
)
i64
;
}
else
else
{
*
pf
=
0
.
0
;
*
pf
=
0
.
0
;
}
}
}
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
...
Write
Preview
Supports
Markdown
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