spu: remove useless check

filter_chain_Reset(NULL, NULL) is a no-op on an empty chain.
This commit is contained in:
Rémi Denis-Courmont 2017-07-26 21:07:48 +03:00
parent 8e11a7c3bc
commit 3917462779
1 changed files with 1 additions and 1 deletions

View File

@ -1434,7 +1434,7 @@ void spu_PutSubpicture(spu_t *spu, subpicture_t *subpic)
SubFilterAddProxyCallbacks,
sys->vout);
}
else if (filter_chain_GetLength(spu->p->filter_chain) > 0)
else
filter_chain_Reset(sys->filter_chain, NULL, NULL);
/* "sub-source" was formerly "sub-filter", so now the "sub-filter"