[Swfdec] 4 commits - libswfdec-gtk/swfdec_gtk_loader.c
Pekka Lampila
medar at kemper.freedesktop.org
Fri Oct 12 06:30:21 PDT 2007
libswfdec-gtk/swfdec_gtk_loader.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
diff-tree 609d09e937f5a16695c14b9190420914e2b0f1cb (from 009525632e76cbc8456bbb1911404f76f9fa72b3)
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Fri Oct 12 16:12:01 2007 +0300
Don't hit an assert if HTTP Content-Length header is <= 0
diff --git a/libswfdec-gtk/swfdec_gtk_loader.c b/libswfdec-gtk/swfdec_gtk_loader.c
index dcdd22c..0e860b9 100644
--- a/libswfdec-gtk/swfdec_gtk_loader.c
+++ b/libswfdec-gtk/swfdec_gtk_loader.c
@@ -112,7 +112,8 @@ swfdec_gtk_loader_headers (SoupMessage *
errno = 0;
l = strtoul (s, &end, 10);
- if (errno == 0 && *end == 0)
+ // FIXME: need a way to allow 0-size files
+ if (errno == 0 && *end == 0 && l > 0)
swfdec_loader_set_size (loader, l);
}
diff-tree 009525632e76cbc8456bbb1911404f76f9fa72b3 (from parents)
Merge: 7a7aaf0a197ede39fc90d975139558da438665f4 a8bd074e7aa1596bdabff5e033c14f5c284f1e44
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Fri Oct 12 15:37:28 2007 +0300
Merge branch 'master' of ssh://medar@git.freedesktop.org/git/swfdec/swfdec
diff-tree 7a7aaf0a197ede39fc90d975139558da438665f4 (from parents)
Merge: 0dda3049b019a5a04045f6bdc36e80cd407b5f19 2adb53ebb5ba9d6dbe8993ab64f70f6fad919895
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Fri Oct 12 13:28:14 2007 +0300
Merge branch 'master' of ssh://medar@git.freedesktop.org/git/swfdec/swfdec
diff-tree 0dda3049b019a5a04045f6bdc36e80cd407b5f19 (from 1842d3858b37ce64020a91b2056415177594c266)
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Thu Oct 11 11:09:44 2007 +0300
Check for glib 2.10 instead of just 2.4
Not sure if 2.10 is correct version, we might actually require 2.12 or 2.14
diff --git a/configure.ac b/configure.ac
index 3aa5e4c..6abc3ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,7 @@ AC_ARG_WITH(pkg-config-path,
dnl Check for essential libraries first:
dnl ====================================
-GLIB_VER=2.4
+GLIB_VER=2.10
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_VER gobject-2.0 >= $GLIB_VER,
HAVE_GLIB=yes, HAVE_GLIB=no)
if test "$HAVE_GLIB" = "no"; then
More information about the Swfdec
mailing list