[Swfdec] libswfdec/swfdec_codec_gst.c

Benjamin Otte company at kemper.freedesktop.org
Mon Oct 29 15:28:06 PDT 2007


 libswfdec/swfdec_codec_gst.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2586d9b71e5f1abcffde7905d017a1002bfcc22a
Author: Benjamin Otte <otte at gnome.org>
Date:   Mon Oct 29 23:27:50 2007 +0100

    initialize video decoder as NULL

diff --git a/libswfdec/swfdec_codec_gst.c b/libswfdec/swfdec_codec_gst.c
index 35f00e5..2873e84 100644
--- a/libswfdec/swfdec_codec_gst.c
+++ b/libswfdec/swfdec_codec_gst.c
@@ -593,7 +593,7 @@ swfdec_video_decoder_gst_new (SwfdecVideoCodec codec)
   g_assert (srccaps);
   sinkcaps = swfdec_video_decoder_get_sink_caps (codec);
 
-  player = g_slice_new (SwfdecGstVideo);
+  player = g_slice_new0 (SwfdecGstVideo);
   player->decoder.decode = swfdec_video_decoder_gst_decode;
   player->decoder.free = swfdec_video_decoder_gst_free;
 


More information about the Swfdec mailing list