Mercurial > mplayer.hg
changeset 23611:ecbb54f8d299
make opt argument of demux_info_get const.
author | reimar |
---|---|
date | Sun, 24 Jun 2007 10:20:42 +0000 |
parents | 24477987c2b8 |
children | 10a64a994a16 |
files | libmpdemux/demuxer.c libmpdemux/demuxer.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demuxer.c Sun Jun 24 10:16:18 2007 +0000 +++ b/libmpdemux/demuxer.c Sun Jun 24 10:20:42 2007 +0000 @@ -1017,7 +1017,7 @@ return 0; } -char* demux_info_get(demuxer_t *demuxer, char *opt) { +char* demux_info_get(demuxer_t *demuxer, const char *opt) { int i; char **info = demuxer->info;
--- a/libmpdemux/demuxer.h Sun Jun 24 10:16:18 2007 +0000 +++ b/libmpdemux/demuxer.h Sun Jun 24 10:20:42 2007 +0000 @@ -361,7 +361,7 @@ extern int extension_parsing; int demux_info_add(demuxer_t *demuxer, const char *opt, const char *param); -char* demux_info_get(demuxer_t *demuxer, char *opt); +char* demux_info_get(demuxer_t *demuxer, const char *opt); int demux_info_print(demuxer_t *demuxer); int demux_control(demuxer_t *demuxer, int cmd, void *arg);