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
VideoLAN
libdvdread
Commits
cd82f307
Commit
cd82f307
authored
Jan 28, 2015
by
Thomas Guillem
Committed by
Jean-Baptiste Kempf
Jan 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvd_input: always init dev->dvdcss
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
8bda55f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/dvd_input.c
src/dvd_input.c
+5
-3
No files found.
src/dvd_input.c
View file @
cd82f307
...
...
@@ -99,10 +99,12 @@ static dvd_input_t css_open(const char *target,
if
(
target
)
dev
->
dvdcss
=
DVDcss_open
(
target
);
else
if
(
stream
&&
stream_cb
)
{
#ifndef HAVE_DVDCSS_DVDCSS_H
if
(
DVDcss_open_stream
)
#endif
#ifdef HAVE_DVDCSS_DVDCSS_H
dev
->
dvdcss
=
DVDcss_open_stream
(
stream
,
(
dvdcss_stream_cb
*
)
stream_cb
);
#endif
dev
->
dvdcss
=
DVDcss_open_stream
?
DVDcss_open_stream
(
stream
,
(
dvdcss_stream_cb
*
)
stream_cb
)
:
NULL
;
}
if
(
dev
->
dvdcss
==
0
)
{
fprintf
(
stderr
,
"libdvdread: Could not open %s with libdvdcss.
\n
"
,
target
);
...
...
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