Skip to content

Commit ad18ece

Browse files
committed
fixed #1904
1 parent b07a6ac commit ad18ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/isomedia/hint_track.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Bool IsHintTrack(GF_TrackBox *trak)
4343
u32 GetHintFormat(GF_TrackBox *trak)
4444
{
4545
GF_HintMediaHeaderBox *hmhd = (GF_HintMediaHeaderBox *)trak->Media->information->InfoHeader;
46-
if (hmhd->type != GF_ISOM_BOX_TYPE_HMHD)
46+
if (!hmhd || (hmhd->type != GF_ISOM_BOX_TYPE_HMHD))
4747
return 0;
4848

4949
if (!hmhd || !hmhd->subType) {

0 commit comments

Comments
 (0)