[vlc-devel] [PATCH] csa: do not handle impossible NULL argument

Romain Vimont rom1v at videolabs.io
Fri Dec 4 09:54:23 CET 2020


On Thu, Dec 03, 2020 at 10:14:49AM +0100, Steve Lhomme wrote:
> p_sys->csa in ts.c can be NULL (see csaSetup()) and the ts code will work
> fine. So the NULL case is very much used (and I believe the common case).

csa_UseKey() is only called from ActiveKeyCallback(), which is
registered only when csa is not NULL.

So the patch LGTM.


More information about the vlc-devel mailing list