# HG changeset patch # User alex # Date 1007228519 0 # Node ID 49a0d462dffe24ee326ddfcf33cb253eef36838b # Parent 808d1ac88074328d892fcd5f7c933ad672ba8e3b init_v4l only present if HAVE_TV_V4L diff -r 808d1ac88074 -r 49a0d462dffe libmpdemux/tv.c --- a/libmpdemux/tv.c Sat Dec 01 17:17:32 2001 +0000 +++ b/libmpdemux/tv.c Sat Dec 01 17:41:59 2001 +0000 @@ -307,8 +307,10 @@ { if (!strcmp(tv_param_driver, "dummy")) return (tvi_handle_t *)tvi_init_dummy(tv_param_device); +#ifdef HAVE_TV_V4L if (!strcmp(tv_param_driver, "v4l")) return (tvi_handle_t *)tvi_init_v4l(tv_param_device); +#endif mp_msg(MSGT_TV, MSGL_ERR, "No such driver: %s\n", tv_param_driver); return(NULL);