diff options
author | František Dvořák <valtri@civ.zcu.cz> | 2008-11-20 20:56:19 +0100 |
---|---|---|
committer | František Dvořák <valtri@civ.zcu.cz> | 2008-11-20 20:56:19 +0100 |
commit | ea2b5508e35f5125fd65730822b30bb8895ad87d (patch) | |
tree | e03317e974e1bf818ca50904242595fa01db25df /src/input/input_v4l.c | |
parent | 2ba1e128cbb791cfdb2829895a854bb664018912 (diff) | |
download | xine-lib-ea2b5508e35f5125fd65730822b30bb8895ad87d.tar.gz xine-lib-ea2b5508e35f5125fd65730822b30bb8895ad87d.tar.bz2 |
Some warning fixes: XINE_FORMAT_SCANF, statics in headers, consts, ...
Add warning flags to the DEBUG_CFLAGS too.
Diffstat (limited to 'src/input/input_v4l.c')
-rw-r--r-- | src/input/input_v4l.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c index b97f11ace..3a020bd69 100644 --- a/src/input/input_v4l.c +++ b/src/input/input_v4l.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2004 the xine project + * Copyright (C) 2003-2008 the xine project * Copyright (C) 2003 J.Asselman <j.asselman@itsec-ps.nl> * * This file is part of xine, a free video player. @@ -100,10 +100,6 @@ static const resolution_t resolutions[] = { static char *tv_standard_names[] = { "AUTO", "PAL", "NTSC", "SECAM", "OLD", NULL }; static int tv_standard_values[] = { VIDEO_MODE_AUTO, VIDEO_MODE_PAL, VIDEO_MODE_NTSC, VIDEO_MODE_SECAM, -1 }; -#if !defined(NDELAY) && defined(O_NDELAY) -#define FNDELAY O_NDELAY -#endif - typedef struct pvrscr_s pvrscr_t; typedef struct { @@ -844,7 +840,7 @@ static int open_video_capture_device(v4l_input_plugin_t *this) { int found = 0; int tuner_found = 0; - int i, ret; + int ret; unsigned int j; cfg_entry_t *entry; @@ -1870,11 +1866,11 @@ static input_plugin_t *v4l_class_get_radio_instance (input_class_t *cls_gen, * v4l input plugin class stuff */ -static char *v4l_class_get_video_description (input_class_t *this_gen) { +static const char *v4l_class_get_video_description (input_class_t *this_gen) { return _("v4l tv input plugin"); } -static char *v4l_class_get_radio_description (input_class_t *this_gen) { +static const char *v4l_class_get_radio_description (input_class_t *this_gen) { return _("v4l radio input plugin"); } |