view dvdauth.h @ 1362:11673118f37f

Fix segfault in DShow video decoder. Using directshow, the sh_video->out_out_buffer is NULL on the first few decoded frames, and is initialized in loader/DirectShow/outputpin.cpp, method COutputPin::Receive(), while the video is already running. Do not try to display a frame while sh_video->out_out_buffer is still NULL. Such a test was present in the previous to last revision of this file, but was lost in the last revision.
author jkeil
date Fri, 20 Jul 2001 11:35:47 +0000
parents b333271f4e7c
children
line wrap: on
line source

//#include "config.h"
#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;

int dvd_auth ( char *, char * );
int dvd_import_key ( unsigned char * );

#endif
#endif