Author: toshok
Date: 2008-01-17 18:04:50 -0500 (Thu, 17 Jan 2008)
New Revision: 93215

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/pipeline.h
Log:
2008-01-17  Chris Toshok  <[EMAIL PROTECTED]>

        * pipeline.h (class IMediaDemuxer): initializer streams and
        stream_count so we don't crash on ltbennett.com.



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2008-01-17 22:29:50 UTC (rev 93214)
+++ trunk/moon/src/ChangeLog    2008-01-17 23:04:50 UTC (rev 93215)
@@ -1,3 +1,8 @@
+2008-01-17  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * pipeline.h (class IMediaDemuxer): initializer streams and
+       stream_count so we don't crash on ltbennett.com.
+
 2008-01-17  Jeffrey Stedfast  <[EMAIL PROTECTED]>
 
        * pipeline.cpp (Mp3FrameReader::ReadFrame): If we fail to read an

Modified: trunk/moon/src/pipeline.h
===================================================================
--- trunk/moon/src/pipeline.h   2008-01-17 22:29:50 UTC (rev 93214)
+++ trunk/moon/src/pipeline.h   2008-01-17 23:04:50 UTC (rev 93215)
@@ -438,7 +438,7 @@
        void SetStreams (IMediaStream **streams, int count);
        
 public:
-       IMediaDemuxer (Media *media) : IMediaObject (media) {}
+       IMediaDemuxer (Media *media) : IMediaObject (media), streams (NULL), 
stream_count (0) {}
        virtual ~IMediaDemuxer ();
        
        virtual MediaResult ReadHeader () = 0;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to