1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00

remove unnecessary stubs which were not ever used.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23380 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
voroshil 2007-05-24 09:58:57 +00:00
parent 85b37d1ccf
commit 8ee842dde2
4 changed files with 0 additions and 26 deletions

View File

@ -66,9 +66,6 @@ typedef struct tvi_functions_s
int (*control)();
int (*start)();
double (*grab_video_frame)();
#ifdef HAVE_TV_BSDBT848
double (*grabimmediate_video_frame)();
#endif
int (*get_video_framesize)();
double (*grab_audio_frame)();
int (*get_audio_framesize)();

View File

@ -6,9 +6,6 @@ static int uninit(priv_t *priv);
static int control(priv_t *priv, int cmd, void *arg);
static int start(priv_t *priv);
static double grab_video_frame(priv_t *priv, char *buffer, int len);
#ifdef HAVE_TV_BSDBT848
static double grabimmediate_video_frame(priv_t *priv, char *buffer, int len);
#endif
static int get_video_framesize(priv_t *priv);
static double grab_audio_frame(priv_t *priv, char *buffer, int len);
static int get_audio_framesize(priv_t *priv);
@ -20,9 +17,6 @@ static tvi_functions_t functions =
control,
start,
grab_video_frame,
#ifdef HAVE_TV_BSDBT848
grabimmediate_video_frame,
#endif
get_video_framesize,
grab_audio_frame,
get_audio_framesize

View File

@ -90,14 +90,6 @@ static int control(priv_t *priv, int cmd, void *arg)
return(TVI_CONTROL_UNKNOWN);
}
#ifdef HAVE_TV_BSDBT848
static double grabimmediate_video_frame(priv_t *priv, char *buffer, int len)
{
memset(buffer, 0xCC, len);
return(1);
}
#endif
static double grab_video_frame(priv_t *priv, char *buffer, int len)
{
memset(buffer, 0x42, len);

View File

@ -1313,15 +1313,6 @@ static int start(priv_t *priv)
return 1;
}
#ifdef HAVE_TV_BSDBT848
static double grabimmediate_video_frame(priv_t *priv, char *buffer, int len)
{
memset(buffer, 0xCC, len);
return(1);
}
#endif /* HAVE_TV_BSDBT848 */
// copies a video frame
static inline void copy_frame(priv_t *priv, unsigned char *dest, unsigned char *source)
{