Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
8dc5af51
Commit
8dc5af51
authored
Aug 21, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flac: Fix a bad cast from function call warning.
parent
075a0175
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/demux/flac.c
modules/demux/flac.c
+4
-1
No files found.
modules/demux/flac.c
View file @
8dc5af51
...
@@ -382,7 +382,10 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
...
@@ -382,7 +382,10 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
double
*
pf
=
(
double
*
)
va_arg
(
args
,
double
*
);
double
*
pf
=
(
double
*
)
va_arg
(
args
,
double
*
);
const
int64_t
i_length
=
ControlGetLength
(
p_demux
);
const
int64_t
i_length
=
ControlGetLength
(
p_demux
);
if
(
i_length
>
0
)
if
(
i_length
>
0
)
*
pf
=
(
double
)
ControlGetTime
(
p_demux
)
/
(
double
)
i_length
;
{
double
current
=
ControlGetTime
(
p_demux
);
*
pf
=
current
/
(
double
)
i_length
;
}
else
else
*
pf
=
0
.
0
;
*
pf
=
0
.
0
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
...
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