[Swfdec] [Swfdec-commits] Changes to 'rtmp'

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Sun Dec 14 22:57:10 PST 2008


Hi Benjamin,

I need this patch to compile this branch, i think that removing the check is 
possibly more reasonable but i'm in hurry to go to work :)

thanks,
riccardo

diff --git a/swfdec/swfdec_net_stream_video.c b/swfdec/swfdec_net_stream_video.c
index c7cf7e8..9ecfe66 100644
--- a/swfdec/swfdec_net_stream_video.c
+++ b/swfdec/swfdec_net_stream_video.c
@@ -305,7 +305,7 @@ void
  swfdec_net_stream_video_push (SwfdecNetStreamVideo *video,
      const SwfdecRtmpHeader *header, SwfdecBuffer *buffer)
  {
-  SwfdecRtmpPacket *packet;
+  SwfdecRtmpPacket *packet = NULL;

    g_return_if_fail (SWFDEC_IS_NET_STREAM_VIDEO (video));
    g_return_if_fail (packet != NULL);





More information about the Swfdec mailing list