mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user