tvi_functions_t should be const

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25712 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-01-13 11:48:56 +00:00
parent 8018842169
commit e351bee5a9
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ typedef struct tvi_functions_s
} tvi_functions_t; } tvi_functions_t;
typedef struct tvi_handle_s { typedef struct tvi_handle_s {
tvi_functions_t *functions; const tvi_functions_t *functions;
void *priv; void *priv;
int seq; int seq;

View File

@ -12,7 +12,7 @@ static int get_audio_framesize(priv_t *priv);
int teletext_control(void* p, int cmd, void *arg); int teletext_control(void* p, int cmd, void *arg);
static tvi_functions_t functions = static const tvi_functions_t functions =
{ {
init, init,
uninit, uninit,