hi,

attacched a couple of patches that fix:

- a variable may be used unitialized in swfdec_audio_decoder.c

- swfdec_init.c got referenced in swfdec/Makefile.am but it's not in git, i've removed it but maybe the right fix is to add it instead

Still not able to compile swfdec (shadow warnings), will follow other patches if you don't beat me to it.

cheers,
rm
diff --git a/swfdec/Makefile.am b/swfdec/Makefile.am
index 6c8f5c1..b887678 100644
--- a/swfdec/Makefile.am
+++ b/swfdec/Makefile.am
@@ -88,7 +88,6 @@ libswfdec_source_files = \
 	swfdec_graphic_movie.c \
 	swfdec_image.c \
 	swfdec_image_decoder.c \
-	swfdec_init.c \
 	swfdec_interval.c \
 	swfdec_key_as.c \
 	swfdec_load_object.c \
diff --git a/swfdec/swfdec_audio_decoder.c b/swfdec/swfdec_audio_decoder.c
index e969d27..ebe963a 100644
--- a/swfdec/swfdec_audio_decoder.c
+++ b/swfdec/swfdec_audio_decoder.c
@@ -89,7 +89,7 @@ swfdec_audio_decoder_prepare (guint codec, SwfdecAudioFormat format, char **miss
 SwfdecAudioDecoder *
 swfdec_audio_decoder_new (guint codec, SwfdecAudioFormat format)
 {
-  SwfdecAudioDecoder *ret;
+  SwfdecAudioDecoder *ret = NULL;
   GSList *walk;
   
   g_return_val_if_fail (SWFDEC_IS_AUDIO_FORMAT (format), NULL);
_______________________________________________
Swfdec mailing list
Swfdec@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/swfdec

Reply via email to