git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb02b26
)
Fix a few bugs in mosaic bridge.
author
Antoine Cellerier
<dionoea@videolan.org>
Sat, 28 Jun 2008 14:09:05 +0000
(16:09 +0200)
committer
Antoine Cellerier
<dionoea@videolan.org>
Sat, 28 Jun 2008 14:09:05 +0000
(16:09 +0200)
modules/stream_out/mosaic_bridge.c
patch
|
blob
|
history
diff --git
a/modules/stream_out/mosaic_bridge.c
b/modules/stream_out/mosaic_bridge.c
index
12f0309
..
e6d17d5
100644
(file)
--- a/
modules/stream_out/mosaic_bridge.c
+++ b/
modules/stream_out/mosaic_bridge.c
@@
-82,7
+82,6
@@
static void ReleasePicture( picture_t *p_pic )
if( --p_pic->i_refcount > 0 )
return;
- assert( p_pic->p_sys );
if( p_pic->p_sys )
{
pf_release_t pf_release = (pf_release_t)p_pic->p_sys;
@@
-440,6
+439,10
@@
static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
filter_chain_AppendFromString( p_sys->p_vf2, psz_chain );
free( psz_chain );
}
+ else
+ {
+ p_sys->p_vf2 = NULL;
+ }
return (sout_stream_id_t *)p_sys;
}