In function gf_isom_get_track_switch_parameter() in src/isomedia/isom_read.c, tsel should be checked before used in case it's NULL.

https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/isom_read.c#L4051-L4059
potential NULL pointer dereference in isomedia/isom_read.c
This is a GitHub Issue
repo:gpac
owner:gpac
Title : potential NULL pointer dereference in isomedia/isom_read.c
Issue date:

--- start body ---
In function gf_isom_get_track_switch_parameter() in src/isomedia/isom_read.c, tsel should be checked before used in case it's NULL.

https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/isom_read.c#L4051-L4059
--- end body ---
