diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-13 11:48:56 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-13 11:48:56 +0000 |
commit | e351bee5a9adb1c14da8d70e948b5cdd96ea6f3c (patch) | |
tree | c2a9c2c5ac338a50a629473f1870e239030e4f20 /stream | |
parent | 801884216923e9f5d7e44bb11ca8f3a0f476f5de (diff) | |
download | mpv-e351bee5a9adb1c14da8d70e948b5cdd96ea6f3c.tar.bz2 mpv-e351bee5a9adb1c14da8d70e948b5cdd96ea6f3c.tar.xz |
tvi_functions_t should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25712 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/tv.h | 2 | ||||
-rw-r--r-- | stream/tvi_def.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stream/tv.h b/stream/tv.h index 7dc87c53f2..a09df2c076 100644 --- a/stream/tv.h +++ b/stream/tv.h @@ -102,7 +102,7 @@ typedef struct tvi_functions_s } tvi_functions_t; typedef struct tvi_handle_s { - tvi_functions_t *functions; + const tvi_functions_t *functions; void *priv; int seq; diff --git a/stream/tvi_def.h b/stream/tvi_def.h index c47b0dfe36..9682b56f13 100644 --- a/stream/tvi_def.h +++ b/stream/tvi_def.h @@ -12,7 +12,7 @@ static int get_audio_framesize(priv_t *priv); int teletext_control(void* p, int cmd, void *arg); -static tvi_functions_t functions = +static const tvi_functions_t functions = { init, uninit, |