summaryrefslogtreecommitdiffstats
path: root/stream/tv.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 11:59:50 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-13 11:59:50 +0000
commit2f738465ad0bea93957e031dec9c4b9429bbb232 (patch)
tree2cdf1c4dd82c1aa0a103b83382e5a02865f52dfd /stream/tv.c
parentf76f27a13690a49fa5986639508c45e7c98726d8 (diff)
downloadmpv-2f738465ad0bea93957e031dec9c4b9429bbb232.tar.bz2
mpv-2f738465ad0bea93957e031dec9c4b9429bbb232.tar.xz
Make some tvi_functions_t pointers const that I forgot to change before
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25716 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tv.c')
-rw-r--r--stream/tv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/stream/tv.c b/stream/tv.c
index 93feddace1..dacc40465c 100644
--- a/stream/tv.c
+++ b/stream/tv.c
@@ -207,7 +207,7 @@ static int demux_tv_fill_buffer(demuxer_t *demux, demux_stream_t *ds)
static int norm_from_string(tvi_handle_t *tvh, char* norm)
{
- tvi_functions_t *funcs = tvh->functions;
+ const tvi_functions_t *funcs = tvh->functions;
char str[20];
int ret;
@@ -318,7 +318,7 @@ static void parse_channels(tvi_handle_t *tvh)
static int open_tv(tvi_handle_t *tvh)
{
int i;
- tvi_functions_t *funcs = tvh->functions;
+ const tvi_functions_t *funcs = tvh->functions;
int tv_fmt_list[] = {
IMGFMT_YV12,
IMGFMT_I420,
@@ -622,7 +622,7 @@ static demuxer_t* demux_open_tv(demuxer_t *demuxer)
tvi_handle_t *tvh;
sh_video_t *sh_video;
sh_audio_t *sh_audio = NULL;
- tvi_functions_t *funcs;
+ const tvi_functions_t *funcs;
demuxer->priv=NULL;
if(!(tvh=tv_begin(demuxer->stream->priv))) return NULL;
@@ -788,7 +788,7 @@ static void demux_close_tv(demuxer_t *demuxer)
/* utilities for mplayer (not mencoder!!) */
int tv_set_color_options(tvi_handle_t *tvh, int opt, int value)
{
- tvi_functions_t *funcs = tvh->functions;
+ const tvi_functions_t *funcs = tvh->functions;
switch(opt)
{
@@ -809,7 +809,7 @@ int tv_set_color_options(tvi_handle_t *tvh, int opt, int value)
int tv_get_color_options(tvi_handle_t *tvh, int opt, int* value)
{
- tvi_functions_t *funcs = tvh->functions;
+ const tvi_functions_t *funcs = tvh->functions;
switch(opt)
{