summaryrefslogtreecommitdiff
path: root/src/input/input_rtp.c
diff options
context:
space:
mode:
authorRocky Bernstein <rockyb@users.sourceforge.net>2004-07-20 00:50:10 +0000
committerRocky Bernstein <rockyb@users.sourceforge.net>2004-07-20 00:50:10 +0000
commit2bb0f28dc8252b31f496f0e5bb9b590391e1b129 (patch)
tree221f41790ccd7aebb8f198660a10ae92d700e1ee /src/input/input_rtp.c
parent389adc46d80045a1de20d60217b57dd5707311dd (diff)
downloadxine-lib-2bb0f28dc8252b31f496f0e5bb9b590391e1b129.tar.gz
xine-lib-2bb0f28dc8252b31f496f0e5bb9b590391e1b129.tar.bz2
Add const to get_identifier return type since that's n fact what it
is. Should protect against a plugin returning a malloc'd variable for example. CVS patchset: 6821 CVS date: 2004/07/20 00:50:10
Diffstat (limited to 'src/input/input_rtp.c')
-rw-r--r--src/input/input_rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c
index c13ba963e..6730d1e30 100644
--- a/src/input/input_rtp.c
+++ b/src/input/input_rtp.c
@@ -742,7 +742,7 @@ static char *rtp_class_get_description (input_class_t *this_gen) {
return _("RTP and UDP input plugin as shipped with xine");
}
-static char *rtp_class_get_identifier (input_class_t *this_gen) {
+static const char *rtp_class_get_identifier (input_class_t *this_gen) {
return "RTP/UDP";
}