[vlc-commits] access: bd: add assertion
Tristan Matthews
git at videolan.org
Mon Nov 3 00:09:07 CET 2014
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Sun Nov 2 18:08:15 2014 -0500| [ac7ec2d22c41ee2f614c22a818d0c658f6e1caaa] | committer: Tristan Matthews
access: bd: add assertion
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ac7ec2d22c41ee2f614c22a818d0c658f6e1caaa
---
modules/access/bd/bd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/access/bd/bd.c b/modules/access/bd/bd.c
index bf9ccd5..3b17f55 100644
--- a/modules/access/bd/bd.c
+++ b/modules/access/bd/bd.c
@@ -610,6 +610,7 @@ static int SetPlayItem( demux_t *p_demux, int i_mpls, int i_play_item )
if( p_sys->pp_clpi[i_clpi]->i_id == p_mpls_clpi->i_id )
p_clpi = p_sys->pp_clpi[i_clpi];
}
+ assert(p_clpi);
const bool b_same_clpi = b_same_mpls && p_sys->p_clpi->i_id == p_clpi->i_id;
stream_t *p_m2ts = NULL;
More information about the vlc-commits
mailing list