[Swfdec] libswfdec/swfdec_loader.c

Benjamin Otte company at kemper.freedesktop.org
Thu Aug 2 10:53:19 PDT 2007


 libswfdec/swfdec_loader.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
diff-tree 6c9bb2836becc35805d599c3f4e942c97fbe09f1 (from a8b2231bd54cdcc43345d69b1daef71286d20789)
Author: Sven Herzberg <herzi at gnome-de.org>
Date:   Thu Aug 2 19:53:54 2007 +0200

    fix compile issues

diff --git a/libswfdec/swfdec_loader.c b/libswfdec/swfdec_loader.c
index 9193f0b..c5b4de5 100644
--- a/libswfdec/swfdec_loader.c
+++ b/libswfdec/swfdec_loader.c
@@ -246,7 +246,7 @@ swfdec_loader_load (SwfdecLoader *loader
   SwfdecURL *url;
 
   g_return_val_if_fail (SWFDEC_IS_LOADER (loader), NULL);
-  g_return_val_if_fail (url != NULL, NULL);
+  g_return_val_if_fail (url_string != NULL, NULL);
   g_return_val_if_fail (data != NULL || data_len == 0, NULL);
 
   klass = SWFDEC_LOADER_GET_CLASS (loader);
@@ -422,7 +422,7 @@ swfdec_loader_get_filename (SwfdecLoader
 {
   const SwfdecURL *url;
   const char *path, *ext;
-  char *ret;
+  char *ret = NULL;
 
   g_return_val_if_fail (SWFDEC_IS_LOADER (loader), NULL);
 


More information about the Swfdec mailing list