view libmpdemux/dvdauth.h @ 10253:978b12dcb9ef

- open new_ds_[audio | video] only when the relative streams are really available - consequently, -nosound now works - simplified the feeding (to ds_) function - eliminated the previous buffering of ES data (so it should be a little faster) - discard junk ES data after payload_size for the current pes packet is 0 - reduced the probe buffer - better support for audio only TS (DAB seems to have many fans) - fixes the wrong spacing (now fixed at 8 chars) - makes static all the functions that are not exported - comments the unused code that I could need in the future patch by Nico <nsabbi@libero.it>
author arpi
date Sat, 07 Jun 2003 11:30:19 +0000
parents 9975a432cf47
children
line wrap: on
line source

#ifdef HAVE_LIBCSS
#ifndef _MPLAYER_CSS_H
#define _MPLAYER_CSS_H

extern char *dvd_auth_device;
extern unsigned char key_disc[];
extern unsigned char key_title[];
extern unsigned char *dvdimportkey;
extern int descrambling;
extern char *css_so;

int dvd_auth ( char *, char * );
int dvd_import_key ( unsigned char * );
void dvd_css_descramble ( u_char *, u_char * );

#endif
#endif