Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
77466c8f
Commit
77466c8f
authored
Mar 02, 2007
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- libvlc ABIs: test that demux is available before accessing it in libvlc_input_get_fps()
parent
d5db005b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/control/input.c
src/control/input.c
+2
-1
No files found.
src/control/input.c
View file @
77466c8f
...
...
@@ -144,7 +144,8 @@ float libvlc_input_get_fps( libvlc_input_t *p_input,
if
(
libvlc_exception_raised
(
p_e
)
)
return
0
.
0
;
if
(
demux2_Control
(
p_input_thread
->
p
->
input
.
p_demux
,
DEMUX_GET_FPS
,
&
f_fps
)
if
(
(
NULL
==
p_input_thread
->
p
->
input
.
p_demux
)
||
demux2_Control
(
p_input_thread
->
p
->
input
.
p_demux
,
DEMUX_GET_FPS
,
&
f_fps
)
||
f_fps
<
0
.
1
)
{
vlc_object_release
(
p_input_thread
);
...
...
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