[vlc-commits] commit: flag a bug ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Wed Oct 13 22:36:27 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct 13 23:35:30 2010 +0300| [4a2819e147e4b8a999d47349d6420368950cd6a5] | committer: Rémi Denis-Courmont 

flag a bug

p_demux value is not defined

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a2819e147e4b8a999d47349d6420368950cd6a5
---

 src/input/stream_demux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/stream_demux.c b/src/input/stream_demux.c
index b23857b..ac55d4c 100644
--- a/src/input/stream_demux.c
+++ b/src/input/stream_demux.c
@@ -120,6 +120,7 @@ static void DStreamDelete( stream_t *s )
     block_t *p_empty;
 
     vlc_object_kill( s );
+#warning FIXME: not thread-safe:
     if( p_sys->p_demux )
         vlc_object_kill( p_sys->p_demux );
     p_empty = block_New( s, 1 ); p_empty->i_buffer = 0;
@@ -303,4 +304,3 @@ static void* DStreamThread( vlc_object_t* p_this )
     vlc_object_kill( p_demux );
     return NULL;
 }
-



More information about the vlc-commits mailing list