From 83773af50ffa6a30af26bab4225ea235cca1565d Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 13 Jan 2008 12:01:57 +0000 Subject: Make all tvi_info_t const git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25717 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tv.c | 10 +++++----- stream/tvi_bsdbt848.c | 2 +- stream/tvi_dshow.c | 2 +- stream/tvi_dummy.c | 2 +- stream/tvi_v4l.c | 2 +- stream/tvi_v4l2.c | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) (limited to 'stream') diff --git a/stream/tv.c b/stream/tv.c index dacc40465c..17bedccce3 100644 --- a/stream/tv.c +++ b/stream/tv.c @@ -41,11 +41,11 @@ tv_channels_t *tv_channel_current, *tv_channel_last; char *tv_channel_last_real; /* enumerating drivers (like in stream.c) */ -extern tvi_info_t tvi_info_dummy; -extern tvi_info_t tvi_info_dshow; -extern tvi_info_t tvi_info_v4l; -extern tvi_info_t tvi_info_v4l2; -extern tvi_info_t tvi_info_bsdbt848; +extern const tvi_info_t tvi_info_dummy; +extern const tvi_info_t tvi_info_dshow; +extern const tvi_info_t tvi_info_v4l; +extern const tvi_info_t tvi_info_v4l2; +extern const tvi_info_t tvi_info_bsdbt848; /** List of drivers in autodetection order */ static const tvi_info_t* tvi_driver_list[]={ diff --git a/stream/tvi_bsdbt848.c b/stream/tvi_bsdbt848.c index 1b7c7e2847..5db90a2bde 100644 --- a/stream/tvi_bsdbt848.c +++ b/stream/tvi_bsdbt848.c @@ -69,7 +69,7 @@ static tvi_handle_t *tvi_init_bsdbt848(tv_param_t* tv_param); /* information about this file */ -tvi_info_t tvi_info_bsdbt848 = { +const tvi_info_t tvi_info_bsdbt848 = { tvi_init_bsdbt848, "Brooktree848 Support", "bsdbt848", diff --git a/stream/tvi_dshow.c b/stream/tvi_dshow.c index e158048411..9b6ee996bc 100644 --- a/stream/tvi_dshow.c +++ b/stream/tvi_dshow.c @@ -102,7 +102,7 @@ static tvi_handle_t *tvi_init_dshow(tv_param_t* tv_param); /** information about this file */ -tvi_info_t tvi_info_dshow = { +const tvi_info_t tvi_info_dshow = { tvi_init_dshow, "DirectShow TV", "dshow", diff --git a/stream/tvi_dummy.c b/stream/tvi_dummy.c index 54c525f5e4..7480d82b71 100644 --- a/stream/tvi_dummy.c +++ b/stream/tvi_dummy.c @@ -10,7 +10,7 @@ static tvi_handle_t *tvi_init_dummy(tv_param_t* tv_param); /* information about this file */ -tvi_info_t tvi_info_dummy = { +const tvi_info_t tvi_info_dummy = { tvi_init_dummy, "NULL-TV", "dummy", diff --git a/stream/tvi_v4l.c b/stream/tvi_v4l.c index de28134d0b..826fe71f19 100644 --- a/stream/tvi_v4l.c +++ b/stream/tvi_v4l.c @@ -49,7 +49,7 @@ static tvi_handle_t *tvi_init_v4l(tv_param_t* tv_param); -tvi_info_t tvi_info_v4l = { +const tvi_info_t tvi_info_v4l = { tvi_init_v4l, "Video 4 Linux input", "v4l", diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c index 0cefee2450..c9fae4b8a1 100644 --- a/stream/tvi_v4l2.c +++ b/stream/tvi_v4l2.c @@ -49,7 +49,7 @@ known issues: #define info tvi_info_v4l2 static tvi_handle_t *tvi_init_v4l2(tv_param_t* tv_param); /* information about this file */ -tvi_info_t tvi_info_v4l2 = { +const tvi_info_t tvi_info_v4l2 = { tvi_init_v4l2, "Video 4 Linux 2 input", "v4l2", -- cgit v1.2.3