Commit 574b886b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix compilation when staticly linked to libdvdcss

parent cd82f307
......@@ -101,10 +101,11 @@ static dvd_input_t css_open(const char *target,
else if(stream && stream_cb) {
dev->dvdcss = DVDcss_open_stream(stream, (dvdcss_stream_cb *)stream_cb);
dev->dvdcss = DVDcss_open_stream ?
DVDcss_open_stream(stream, (dvdcss_stream_cb *)stream_cb) :
if(dev->dvdcss == 0) {
fprintf(stderr, "libdvdread: Could not open %s with libdvdcss.\n", target);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment