[vlc-devel] commit: Added an assert in record module (invalid CID 169). (Laurent Aimar )
git version control
git at videolan.org
Thu Oct 9 19:47:46 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Oct 9 19:43:27 2008 +0200| [cabfae61494af2baab2673711038cdfbfe9cda58] | committer: Laurent Aimar
Added an assert in record module (invalid CID 169).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cabfae61494af2baab2673711038cdfbfe9cda58
---
modules/stream_out/record.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/stream_out/record.c b/modules/stream_out/record.c
index 0ede96a..f2cdfa3 100644
--- a/modules/stream_out/record.c
+++ b/modules/stream_out/record.c
@@ -210,6 +210,7 @@ static int Del( sout_stream_t *p_stream, sout_stream_id_t *id )
block_ChainRelease( id->p_first );
es_format_Clean( &id->fmt );
+ assert( !id->id || p_sys->p_out );
if( id->id )
sout_StreamIdDel( p_sys->p_out, id->id );
More information about the vlc-devel
mailing list