Commit eb7729ac authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Jean-Baptiste Kempf

aout: do not run filters on NULL block

Reported-by: default avatarCheng Sun <chengsun9@gmail.com>
(cherry picked from commit a30a747af7c6cd70c52070f69c0bc06f151f8d04)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6f938b5c
......@@ -208,7 +208,7 @@ void aout_FiltersPlay( filter_t *const *pp_filters,
block_t *p_block = *pp_block;
/* TODO: use filter chain */
for( unsigned i = 0; i < i_nb_filters; i++ )
for( unsigned i = 0; (i < i_nb_filters) && (p_block != NULL); i++ )
{
filter_t * p_filter = pp_filters[i];
......
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