]> git.sesse.net Git - vlc/blobdiff - modules/codec/cc.c
Assert p_block.
[vlc] / 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;