From e351bee5a9adb1c14da8d70e948b5cdd96ea6f3c Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 13 Jan 2008 11:48:56 +0000 Subject: [PATCH] tvi_functions_t should be const git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25712 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tv.h | 2 +- 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,