Mercurial > mplayer.hg
changeset 23362:452595810016
remove unnecessary stubs which were not ever used.
author | voroshil |
---|---|
date | Thu, 24 May 2007 09:58:57 +0000 |
parents | 705f72c9a0f6 |
children | b5401a2b9451 |
files | stream/tv.h stream/tvi_def.h stream/tvi_dummy.c stream/tvi_v4l2.c |
diffstat | 4 files changed, 0 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/tv.h Wed May 23 18:35:24 2007 +0000 +++ b/stream/tv.h Thu May 24 09:58:57 2007 +0000 @@ -66,9 +66,6 @@ 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)();
--- a/stream/tvi_def.h Wed May 23 18:35:24 2007 +0000 +++ b/stream/tvi_def.h Thu May 24 09:58:57 2007 +0000 @@ -6,9 +6,6 @@ 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 @@ control, start, grab_video_frame, -#ifdef HAVE_TV_BSDBT848 - grabimmediate_video_frame, -#endif get_video_framesize, grab_audio_frame, get_audio_framesize
--- a/stream/tvi_dummy.c Wed May 23 18:35:24 2007 +0000 +++ b/stream/tvi_dummy.c Thu May 24 09:58:57 2007 +0000 @@ -90,14 +90,6 @@ 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);
--- a/stream/tvi_v4l2.c Wed May 23 18:35:24 2007 +0000 +++ b/stream/tvi_v4l2.c Thu May 24 09:58:57 2007 +0000 @@ -1313,15 +1313,6 @@ 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) {