Commit dbc21b75 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

When checking for filters overflow, actually handle the error (CID 48)

(cherry picked from commit 375c32ff)

Conflicts:

	src/video_output/vout_subpictures.c
parent 5e93dc81
...@@ -141,6 +141,7 @@ int spu_Init( spu_t *p_spu ) ...@@ -141,6 +141,7 @@ int spu_Init( spu_t *p_spu )
if( p_spu->i_filter >= 10 ) if( p_spu->i_filter >= 10 )
{ {
msg_Dbg( p_spu, "can't add anymore filters" ); msg_Dbg( p_spu, "can't add anymore filters" );
break;
} }
psz_filter = psz_parser; psz_filter = psz_parser;
......
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