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

spu: remove useless check

filter_chain_Reset(NULL, NULL) is a no-op on an empty chain.
parent 8e11a7c3
......@@ -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"
......
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