Skip to content

Commit

Permalink
fixed #1902
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Aug 30, 2021
1 parent 5dd71c7 commit 893fb99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/media_tools/av_parsers.c
Original file line number Diff line number Diff line change
Expand Up @@ -6113,7 +6113,8 @@ s32 gf_avc_parse_nalu(GF_BitStream *bs, AVCState *avc)
ret = 1;
break;
}
assert(avc->s_info.sps);
if (!avc->s_info.sps)
return -1;

if (avc->s_info.sps->poc_type == n_state.sps->poc_type) {
if (!avc->s_info.sps->poc_type) {
Expand Down

0 comments on commit 893fb99

Please sign in to comment.