[MPlayer-dev-eng] [PATCH] Kill teletext related warnings

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Aug 8 13:17:07 CEST 2007


Hello,
On Wed, Aug 08, 2007 at 12:35:02PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes the following warning when compiling tvi_v4l.c and
> tvi_v4l2.c:
> implicit declaration of function teletext_control
> 
> Ok to apply? Or should this be fixed differently?
> 
> Carl Eugen

> Index: stream/tvi_def.h
> ===================================================================
> --- stream/tvi_def.h	(Revision 24028)
> +++ stream/tvi_def.h	(Arbeitskopie)
> @@ -10,6 +10,10 @@
>  static double grab_audio_frame(priv_t *priv, char *buffer, int len);
>  static int get_audio_framesize(priv_t *priv);
>  
> +#ifdef HAVE_TV_TELETEXT
> +int teletext_control(void* p, int cmd, void *arg);
> +#endif
> +

No need to #ifdef it.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list