Skip to content
Permalink
Browse files Browse the repository at this point in the history
fixed #1735
  • Loading branch information
jeanlf committed Apr 8, 2021
1 parent 87afe07 commit 3b84ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isomedia/drm_sample.c
Expand Up @@ -1686,7 +1686,7 @@ void gf_isom_cenc_get_default_info_internal(GF_TrackBox *trak, u32 sampleDescrip
seig_entry = gf_list_get(sgdesc->group_descriptions, sgdesc->default_description_index-1);
else
seig_entry = gf_list_get(sgdesc->group_descriptions, 0);
if (!seig_entry->key_info[0])
if (seig_entry && !seig_entry->key_info[0])
seig_entry = NULL;
break;
}
Expand Down

0 comments on commit 3b84ffc

Please sign in to comment.