mirror of https://github.com/mpv-player/mpv
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:
parent
8018842169
commit
e351bee5a9
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue