summaryrefslogtreecommitdiff
path: root/src/input/input_rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/input_rtp.c')
-rw-r--r--src/input/input_rtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c
index 9c8202d99..9500ab925 100644
--- a/src/input/input_rtp.c
+++ b/src/input/input_rtp.c
@@ -689,7 +689,7 @@ static input_plugin_t *rtp_class_get_instance (input_class_t *cls_gen,
}
}
- this = (rtp_input_plugin_t *) malloc(sizeof(rtp_input_plugin_t));
+ this = (rtp_input_plugin_t *) xine_xmalloc(sizeof(rtp_input_plugin_t));
this->stream = stream;
this->mrl = mrl;
this->filename = filename;
@@ -779,7 +779,7 @@ static void *init_class (xine_t *xine, void *data) {
plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
- { PLUGIN_INPUT, 16, "rtp", XINE_VERSION_CODE, NULL, init_class },
+ { PLUGIN_INPUT, 17, "rtp", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};