summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 13:22:53 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 13:22:53 +0000
commitcd3d3369e15eb664385081b767c879fd069f05cc (patch)
tree119c92c2a1c34717d31bf5b6c973796257f4f10a /stream/stream.c
parent6e6214052c3863c3ab3d049b80ed7c51dfbe3cb1 (diff)
downloadmpv-cd3d3369e15eb664385081b767c879fd069f05cc.tar.bz2
mpv-cd3d3369e15eb664385081b767c879fd069f05cc.tar.xz
Mark all stream_info_t as const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25239 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream.c')
-rw-r--r--stream/stream.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/stream/stream.c b/stream/stream.c
index 26725bbbb9..4555a62381 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -36,57 +36,57 @@
//#include "vcd_read_bincue.h"
#ifdef HAVE_VCD
-extern stream_info_t stream_info_vcd;
+extern const stream_info_t stream_info_vcd;
#endif
#ifdef HAVE_CDDA
-extern stream_info_t stream_info_cdda;
+extern const stream_info_t stream_info_cdda;
#endif
#ifdef MPLAYER_NETWORK
-extern stream_info_t stream_info_netstream;
-extern stream_info_t stream_info_pnm;
-extern stream_info_t stream_info_asf;
-extern stream_info_t stream_info_rtsp;
-extern stream_info_t stream_info_rtp;
-extern stream_info_t stream_info_udp;
-extern stream_info_t stream_info_http1;
-extern stream_info_t stream_info_http2;
+extern const stream_info_t stream_info_netstream;
+extern const stream_info_t stream_info_pnm;
+extern const stream_info_t stream_info_asf;
+extern const stream_info_t stream_info_rtsp;
+extern const stream_info_t stream_info_rtp;
+extern const stream_info_t stream_info_udp;
+extern const stream_info_t stream_info_http1;
+extern const stream_info_t stream_info_http2;
#endif
#ifdef HAS_DVBIN_SUPPORT
-extern stream_info_t stream_info_dvb;
+extern const stream_info_t stream_info_dvb;
#endif
#ifdef USE_TV
-extern stream_info_t stream_info_tv;
+extern const stream_info_t stream_info_tv;
#endif
#ifdef USE_RADIO
-extern stream_info_t stream_info_radio;
+extern const stream_info_t stream_info_radio;
#endif
#ifdef HAVE_PVR
-extern stream_info_t stream_info_pvr;
+extern const stream_info_t stream_info_pvr;
#endif
#ifdef HAVE_FTP
-extern stream_info_t stream_info_ftp;
+extern const stream_info_t stream_info_ftp;
#endif
#ifdef HAVE_VSTREAM
-extern stream_info_t stream_info_vstream;
+extern const stream_info_t stream_info_vstream;
#endif
#ifdef USE_DVDNAV
-extern stream_info_t stream_info_dvdnav;
+extern const stream_info_t stream_info_dvdnav;
#endif
#ifdef LIBSMBCLIENT
-extern stream_info_t stream_info_smb;
+extern const stream_info_t stream_info_smb;
#endif
#ifdef STREAMING_LIVE555
-extern stream_info_t stream_info_sdp;
-extern stream_info_t stream_info_rtsp_sip;
+extern const stream_info_t stream_info_sdp;
+extern const stream_info_t stream_info_rtsp_sip;
#endif
-extern stream_info_t stream_info_cue;
-extern stream_info_t stream_info_null;
-extern stream_info_t stream_info_mf;
-extern stream_info_t stream_info_file;
+extern const stream_info_t stream_info_cue;
+extern const stream_info_t stream_info_null;
+extern const stream_info_t stream_info_mf;
+extern const stream_info_t stream_info_file;
#ifdef USE_DVDREAD
-extern stream_info_t stream_info_ifo;
-extern stream_info_t stream_info_dvd;
+extern const stream_info_t stream_info_ifo;
+extern const stream_info_t stream_info_dvd;
#endif
static const stream_info_t* const auto_open_streams[] = {