diff options
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_ogg.c | 2 | ||||
-rw-r--r-- | libmpdemux/demuxer.c | 2 | ||||
-rw-r--r-- | libmpdemux/demuxer.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libmpdemux/demux_ogg.c b/libmpdemux/demux_ogg.c index c180b2ca1b..e997fb562b 100644 --- a/libmpdemux/demux_ogg.c +++ b/libmpdemux/demux_ogg.c @@ -441,7 +441,7 @@ static unsigned char* demux_ogg_read_packet(ogg_stream_t* os,ogg_packet* pack,vo } // check if clang has substring from comma separated langlist -static int demux_ogg_check_lang(char *clang, char *langlist) +static int demux_ogg_check_lang(const char *clang, char *langlist) { char *c; diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c index d648ac7363..1432dac7aa 100644 --- a/libmpdemux/demuxer.c +++ b/libmpdemux/demuxer.c @@ -922,7 +922,7 @@ if (demuxer->desc->seek) return 1; } -int demux_info_add(demuxer_t *demuxer, char *opt, char *param) +int demux_info_add(demuxer_t *demuxer, const char *opt, const char *param) { char **info = demuxer->info; int n = 0; diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h index 9ca3e3a7ac..de49d8273b 100644 --- a/libmpdemux/demuxer.h +++ b/libmpdemux/demuxer.h @@ -348,7 +348,7 @@ extern int pts_from_bps; extern int extension_parsing; -int demux_info_add(demuxer_t *demuxer, char *opt, char *param); +int demux_info_add(demuxer_t *demuxer, const char *opt, const char *param); char* demux_info_get(demuxer_t *demuxer, char *opt); int demux_info_print(demuxer_t *demuxer); int demux_control(demuxer_t *demuxer, int cmd, void *arg); |