From a000b455a3b7f3c8cb22f856f3c4fb73e07978c9 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Wed, 1 Oct 2008 11:47:04 -0700 Subject: [PATCH] Assert p_block. --- modules/codec/cc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/cc.c b/modules/codec/cc.c index 77abe71cb8..76024b96ea 100644 --- a/modules/codec/cc.c +++ b/modules/codec/cc.c @@ -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; -- 2.39.2