Commit a000b455 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Assert p_block.

parent adb2ecca
...@@ -373,6 +373,8 @@ static subpicture_t *Subtitle( decoder_t *p_dec, char *psz_subtitle, char *psz_h ...@@ -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 ) static subpicture_t *Convert( decoder_t *p_dec, block_t *p_block )
{ {
assert( p_block );
decoder_sys_t *p_sys = p_dec->p_sys; decoder_sys_t *p_sys = p_dec->p_sys;
const int64_t i_pts = p_block->i_pts; const int64_t i_pts = p_block->i_pts;
bool b_changed = false; bool b_changed = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment