[MPlayer-cvslog] r25717 - in trunk/stream: tv.c tvi_bsdbt848.c tvi_dshow.c tvi_dummy.c tvi_v4l.c tvi_v4l2.c

reimar subversion at mplayerhq.hu
Sun Jan 13 13:01:57 CET 2008


Author: reimar
Date: Sun Jan 13 13:01:57 2008
New Revision: 25717

Log:
Make all tvi_info_t const


Modified:
   trunk/stream/tv.c
   trunk/stream/tvi_bsdbt848.c
   trunk/stream/tvi_dshow.c
   trunk/stream/tvi_dummy.c
   trunk/stream/tvi_v4l.c
   trunk/stream/tvi_v4l2.c

Modified: trunk/stream/tv.c
==============================================================================
--- trunk/stream/tv.c	(original)
+++ trunk/stream/tv.c	Sun Jan 13 13:01:57 2008
@@ -41,11 +41,11 @@ tv_channels_t *tv_channel_current, *tv_c
 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[]={

Modified: trunk/stream/tvi_bsdbt848.c
==============================================================================
--- trunk/stream/tvi_bsdbt848.c	(original)
+++ trunk/stream/tvi_bsdbt848.c	Sun Jan 13 13:01:57 2008
@@ -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",

Modified: trunk/stream/tvi_dshow.c
==============================================================================
--- trunk/stream/tvi_dshow.c	(original)
+++ trunk/stream/tvi_dshow.c	Sun Jan 13 13:01:57 2008
@@ -102,7 +102,7 @@ static tvi_handle_t *tvi_init_dshow(tv_p
 /** 
     information about this file
 */
-tvi_info_t tvi_info_dshow = {
+const tvi_info_t tvi_info_dshow = {
     tvi_init_dshow,
     "DirectShow TV",
     "dshow",

Modified: trunk/stream/tvi_dummy.c
==============================================================================
--- trunk/stream/tvi_dummy.c	(original)
+++ trunk/stream/tvi_dummy.c	Sun Jan 13 13:01:57 2008
@@ -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",

Modified: trunk/stream/tvi_v4l.c
==============================================================================
--- trunk/stream/tvi_v4l.c	(original)
+++ trunk/stream/tvi_v4l.c	Sun Jan 13 13:01:57 2008
@@ -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",

Modified: trunk/stream/tvi_v4l2.c
==============================================================================
--- trunk/stream/tvi_v4l2.c	(original)
+++ trunk/stream/tvi_v4l2.c	Sun Jan 13 13:01:57 2008
@@ -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",



More information about the MPlayer-cvslog mailing list