summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/tv.h2
-rw-r--r--stream/tvi_def.h2
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,