Skip to content
Permalink
Browse files Browse the repository at this point in the history
fixed #1904
  • Loading branch information
jeanlf committed Sep 1, 2021
1 parent b07a6ac commit ad18ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isomedia/hint_track.c
Expand Up @@ -43,7 +43,7 @@ Bool IsHintTrack(GF_TrackBox *trak)
u32 GetHintFormat(GF_TrackBox *trak)
{
GF_HintMediaHeaderBox *hmhd = (GF_HintMediaHeaderBox *)trak->Media->information->InfoHeader;
if (hmhd->type != GF_ISOM_BOX_TYPE_HMHD)
if (!hmhd || (hmhd->type != GF_ISOM_BOX_TYPE_HMHD))
return 0;

if (!hmhd || !hmhd->subType) {
Expand Down

0 comments on commit ad18ece

Please sign in to comment.