[MPlayer-cvslog] r23631 - in trunk/libmpdemux: demuxer.c demuxer.h
reimar
subversion at mplayerhq.hu
Sun Jun 24 12:20:43 CEST 2007
Author: reimar
Date: Sun Jun 24 12:20:42 2007
New Revision: 23631
Log:
make opt argument of demux_info_get const.
Modified:
trunk/libmpdemux/demuxer.c
trunk/libmpdemux/demuxer.h
Modified: trunk/libmpdemux/demuxer.c
==============================================================================
--- trunk/libmpdemux/demuxer.c (original)
+++ trunk/libmpdemux/demuxer.c Sun Jun 24 12:20:42 2007
@@ -1017,7 +1017,7 @@ int demux_info_print(demuxer_t *demuxer)
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;
Modified: trunk/libmpdemux/demuxer.h
==============================================================================
--- trunk/libmpdemux/demuxer.h (original)
+++ trunk/libmpdemux/demuxer.h Sun Jun 24 12:20:42 2007
@@ -361,7 +361,7 @@ extern int pts_from_bps;
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);
More information about the MPlayer-cvslog
mailing list