diff libmpdemux/demux_mpg.c @ 3975:04b2227ab75a

Return of the 'Old-style-DVD-support', with dynamic loading (using libdl) so no more conflict with libdvdread: you can compile in both of libdvdread and libcss support! You can even select libcss.so to load from command line or configuration file, with '-csslib /usr/local/lib/libcss.so' or something similar. Default for this option is /usr/local/lib/libcss.so. Note: libcss version (ver>0.1) with newer API is not supported in this version! This is the first version so stay tuned :)
author lgb
date Fri, 04 Jan 2002 13:08:14 +0000
parents ceab3c2f261e
children 6394c1e9e770
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Fri Jan 04 10:39:51 2002 +0000
+++ b/libmpdemux/demux_mpg.c	Fri Jan 04 13:08:14 2002 +0000
@@ -221,7 +221,7 @@
 //    printf("packet start = 0x%X  \n",stream_tell(demux->stream)-packet_start_pos);
 #ifdef HAVE_LIBCSS
     if (css) {
-	    if (descrambling) CSSDescramble(demux->stream->buffer,key_title); else
+	    if (descrambling) dvd_css_descramble(demux->stream->buffer,key_title); else
 		    mp_msg(MSGT_DEMUX,MSGL_WARN,MSGTR_EncryptedVOBauth);
     }
 #endif