Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed #2162
  • Loading branch information
jeanlf committed Apr 11, 2022
1 parent 8dfce7f commit cfaea36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ietf/sdp.c
Expand Up @@ -612,6 +612,7 @@ GF_Err gf_sdp_info_parse(GF_SDPInfo *sdp, char *sdp_text, u32 text_size)
if (pos <= 0) break;
timing->OffsetFromStart[timing->NbRepeatOffsets] = SDP_MakeSeconds(comp);
timing->NbRepeatOffsets += 1;
if (timing->NbRepeatOffsets == GF_SDP_MAX_TIMEOFFSET) break;
}
break;
case 'z':
Expand All @@ -625,6 +626,7 @@ GF_Err gf_sdp_info_parse(GF_SDPInfo *sdp, char *sdp_text, u32 text_size)
pos = gf_token_get(LineBuf, pos, " \t\r\n", comp, 3000);
timing->AdjustmentOffset[timing->NbZoneOffsets] = SDP_MakeSeconds(comp);
timing->NbZoneOffsets += 1;
if (timing->NbZoneOffsets == GF_SDP_MAX_TIMEOFFSET) break;
}
break;
case 'k':
Expand Down

0 comments on commit cfaea36

Please sign in to comment.