[vlc-commits] demux: ts: fix unmatched var_DelCallback
Francois Cartegnie
git at videolan.org
Fri Apr 1 19:46:42 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Apr 1 19:28:26 2016 +0200| [b9c679380d79e63fc5ddee739e08609f70fefeba] | committer: Francois Cartegnie
demux: ts: fix unmatched var_DelCallback
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b9c679380d79e63fc5ddee739e08609f70fefeba
---
modules/demux/mpeg/ts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 55dab09..9b5e39e 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -531,7 +531,7 @@ static void Close( vlc_object_t *p_this )
vlc_mutex_lock( &p_sys->csa_lock );
if( p_sys->csa )
{
- var_DelCallback( p_demux, "ts-csa-ck", ChangeKeyCallback, NULL );
+ var_DelCallback( p_demux, "ts-csa-ck", ChangeKeyCallback, (void *)1 );
var_DelCallback( p_demux, "ts-csa2-ck", ChangeKeyCallback, NULL );
csa_Delete( p_sys->csa );
}
More information about the vlc-commits
mailing list