summaryrefslogtreecommitdiff
path: root/src/input/input_http.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-11-17 14:26:36 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-11-17 14:26:36 +0000
commitbacac99192b65faed1a0047a8be5b95abf15873d (patch)
treec1ca0949f9cb222c8ef6305d8150ca4d9e85b4a7 /src/input/input_http.c
parent75a1024fb27dbff9c4bfc948392910af94797683 (diff)
downloadxine-lib-bacac99192b65faed1a0047a8be5b95abf15873d.tar.gz
xine-lib-bacac99192b65faed1a0047a8be5b95abf15873d.tar.bz2
Add 'xine_' prefix to all of xine-utils functions (what about cpu
acceleration?). Merge xine-utils header files to a new one "xineutils.h". Update xine-lib C/headers to reflect those changes. dxr3 headers are no more installed ine $includdir, but $includdir/xine. CVS patchset: 1054 CVS date: 2001/11/17 14:26:36
Diffstat (limited to 'src/input/input_http.c')
-rw-r--r--src/input/input_http.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c
index acf08f9b9..7a12863af 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -37,7 +37,7 @@
#include <sys/time.h>
#include "xine_internal.h"
-#include "monitor.h"
+#include "xineutils.h"
#include "input_plugin.h"
#define BUFSIZE 1024
@@ -433,8 +433,8 @@ static int http_plugin_open (input_plugin_t *this_gen, char *mrl) {
if (this->contentlength == 0) {
off_t contentlength;
- if (sscanf(this->buf, "Content-Length: %ld", &contentlength) == 1) {
- printf ("input_http: content length = %ld bytes\n", contentlength);
+ if (sscanf(this->buf, "Content-Length: %Ld", &contentlength) == 1) {
+ printf ("input_http: content length = %Ld bytes\n", contentlength);
this->contentlength = contentlength;
}
}
@@ -605,7 +605,7 @@ input_plugin_t *init_input_plugin (int iface, xine_t *xine) {
return NULL;
}
- this = (http_input_plugin_t *) xmalloc(sizeof(http_input_plugin_t));
+ this = (http_input_plugin_t *) xine_xmalloc(sizeof(http_input_plugin_t));
config = xine->config;
xine_debug = config->lookup_int (config, "xine_debug", 0);