summaryrefslogtreecommitdiff
path: root/src/input/input_rtp.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-07-10 21:07:55 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-07-10 21:07:55 +0000
commit4cc9fd313df701f722a81ad4bb551155415ce5cc (patch)
treecafd04a6191675accbc2d168192eee7169a6056b /src/input/input_rtp.c
parent9125c00c6d1242b911cbf68cdd25114cd9972c8f (diff)
downloadxine-lib-4cc9fd313df701f722a81ad4bb551155415ce5cc.tar.gz
xine-lib-4cc9fd313df701f722a81ad4bb551155415ce5cc.tar.bz2
Fixed get_dir in input plugins. Fixed a strange header inclusion bug
in libw32dll/wine. CVS patchset: 264 CVS date: 2001/07/10 21:07:55
Diffstat (limited to 'src/input/input_rtp.c')
-rw-r--r--src/input/input_rtp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c
index b69eeee03..d46ba2058 100644
--- a/src/input/input_rtp.c
+++ b/src/input/input_rtp.c
@@ -460,15 +460,15 @@ input_plugin_t *init_input_plugin (int iface, config_values_t *config) {
}
- this = (rtp_input_plugin_t *) malloc (sizeof (rtp_input_plugin_t));
+ this = (rtp_input_plugin_t *) xmalloc(sizeof(rtp_input_plugin_t));
for (bufn = 0; bufn < N_BUFFERS; bufn++) {
- input_buffer_t *buf = malloc(sizeof(input_buffer_t));
+ input_buffer_t *buf = xmalloc(sizeof(input_buffer_t));
if (!buf) {
fprintf(stderr, "unable to allocate input buffer.\n");
exit(1);
}
- buf->buf = malloc(IBUFFER_SIZE);
+ buf->buf = xmalloc(IBUFFER_SIZE);
if (!buf->buf) {
fprintf(stderr, "unable to allocate input buffer.\n");
exit(1);