summaryrefslogtreecommitdiffstats
path: root/ext/neon
diff options
context:
space:
mode:
authorSébastien Moutte <sebastien@moutte.net>2006-04-09 18:30:51 +0000
committerSébastien Moutte <sebastien@moutte.net>2006-04-09 18:30:51 +0000
commit6ea2c23869bdb0fe6b96fb59c58b71c00f794bfc (patch)
tree8ddd13199548672373c19bfba76c5ca6db8e1f7d /ext/neon
parent078324cd8286894acbdac049de2d404bbd397b4e (diff)
downloadgst-plugins-bad-6ea2c23869bdb0fe6b96fb59c58b71c00f794bfc.tar.gz
gst-plugins-bad-6ea2c23869bdb0fe6b96fb59c58b71c00f794bfc.tar.bz2
gst-plugins-bad-6ea2c23869bdb0fe6b96fb59c58b71c00f794bfc.zip
ext/neon/gstneonhttpsrc.c: remove atoll by using g_ascii_strtoull (atoll is not supported on WIN32)
Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_start): remove atoll by using g_ascii_strtoull (atoll is not supported on WIN32) * sys/directdraw/gstdirectdrawsink.c: * sys/directsound/gstdirectsoundsink.c: done some cleans in sources * win32/vs6: add project files for neon, qtdemux
Diffstat (limited to 'ext/neon')
-rw-r--r--ext/neon/gstneonhttpsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index 7cc11383..00019cce 100644
--- a/ext/neon/gstneonhttpsrc.c
+++ b/ext/neon/gstneonhttpsrc.c
@@ -352,7 +352,7 @@ gst_neonhttp_src_start (GstBaseSrc * bsrc)
content_length = ne_get_response_header (src->request, "Content-Length");
if (content_length) {
- src->content_size = atoll (content_length);
+ src->content_size = g_ascii_strtoull (content_length, NULL, 10);
} else {
src->content_size = -1;
}
@@ -710,7 +710,7 @@ size_header_handler (void *userdata, const char *value)
{
GstNeonhttpSrc *src = GST_NEONHTTP_SRC (userdata);
- src->content_size = atoll (value);
+ src->content_size = g_ascii_strtoull (value, NULL, 10);
GST_DEBUG ("content size = %lld bytes", src->content_size);
}