]> git.sesse.net Git - vlc/commitdiff
Assert p_block.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 1 Oct 2008 18:47:04 +0000 (11:47 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 1 Oct 2008 18:47:51 +0000 (11:47 -0700)
modules/codec/cc.c

index 77abe71cb8559ab14f3f97a7b3c7e20eaebb38f4..76024b96eac07054d748efc0f3bedaf047702dfd 100644 (file)
@@ -373,6 +373,8 @@ static subpicture_t *Subtitle( decoder_t *p_dec, char *psz_subtitle, char *psz_h
 
 static subpicture_t *Convert( decoder_t *p_dec, block_t *p_block )
 {
+    assert( p_block );
+
     decoder_sys_t *p_sys = p_dec->p_sys;
     const int64_t i_pts = p_block->i_pts;
     bool b_changed = false;