[Swfdec] 3 commits - configure.ac libswfdec/swfdec_loader.c libswfdec/swfdec_movie.h

Benjamin Otte company at kemper.freedesktop.org
Tue Apr 17 11:21:41 PDT 2007


 configure.ac              |    3 +--
 libswfdec/swfdec_loader.c |    2 +-
 libswfdec/swfdec_movie.h  |    2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

New commits:
diff-tree b9d433487b5fa18d9b53e4bd7eed3801b62fde3e (from 3b51123d377a1157fb2780e0e4282eb55240ded5)
Author: Benjamin Otte <otte at gnome.org>
Date:   Tue Apr 17 20:23:21 2007 +0200

    update GStreamer requirement
    
    Prior to 0.10.11 GStreamer linked with gmodule-2.0 which overrides the exported
    symbols due to use of --export-dynamic. That causes the Javascript symbols to
    be exported. And that in turn causes the mozilla plugin to fail due to symbol
    clashes.

diff --git a/configure.ac b/configure.ac
index d26278d..fe0ffa8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -211,8 +211,7 @@ AC_ARG_ENABLE(gstreamer,
 	enable_gstreamer="yes")
 
 if test "$enable_gstreamer" = "yes"; then
-	dnl I used my own version here, it might work with lower versions
-	GST_REQUIRED=0.10.10
+	GST_REQUIRED=0.10.11
 	PKG_CHECK_MODULES(GST, gstreamer-0.10 >= $GST_REQUIRED, HAVE_GST=yes, HAVE_GST=no)
 	if test "x$HAVE_GST" = xyes; then
 	  AC_DEFINE(HAVE_GST, 1, [Define if GStreamer is enabled])
diff-tree 3b51123d377a1157fb2780e0e4282eb55240ded5 (from 783b6d178d9fe4a6f50fbc55031fb9cd5e139708)
Author: Benjamin Otte <otte at gnome.org>
Date:   Tue Apr 17 15:22:48 2007 +0200

    graphic may not be NULL

diff --git a/libswfdec/swfdec_movie.h b/libswfdec/swfdec_movie.h
index 5b56656..f5d7b9f 100644
--- a/libswfdec/swfdec_movie.h
+++ b/libswfdec/swfdec_movie.h
@@ -42,7 +42,7 @@ typedef enum {
 } SwfdecDepthClass;
 
 struct _SwfdecContent {
-  SwfdecGraphic *	graphic;	/* object to display or NULL */
+  SwfdecGraphic *	graphic;	/* object to display */
   int	         	depth;		/* at which depth to display */
   int			clip_depth;	/* clip depth of object */
   guint			ratio;
diff-tree 783b6d178d9fe4a6f50fbc55031fb9cd5e139708 (from ce83f3171f4400aa620464982ab266d567213be5)
Author: Benjamin Otte <otte at gnome.org>
Date:   Tue Apr 17 13:42:59 2007 +0200

    add more characters that aren't escaped

diff --git a/libswfdec/swfdec_loader.c b/libswfdec/swfdec_loader.c
index f20bffd..8f8db69 100644
--- a/libswfdec/swfdec_loader.c
+++ b/libswfdec/swfdec_loader.c
@@ -605,7 +605,7 @@ swfdec_loader_data_type_get_extension (S
 /*** X-WWW-FORM-URLENCODED ***/
 
 /* if speed ever gets an issue, use a 256 byte array instead of strchr */
-static const char *urlencode_unescaped="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_.:/";
+static const char *urlencode_unescaped="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_.:/()'";
 static void
 swfdec_urlencode_append_string (GString *str, const char *s)
 {


More information about the Swfdec mailing list