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 77abe71..76024b9 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;