Revision a972337c sdp.c

View differences:

sdp.c
575 575
	janus_ice_handle *handle = stream->handle;
576 576
	if(handle == NULL)
577 577
		return -2;
578
	guint32 ssrc = atol(ssrc_attr);
579
	if(ssrc == 0)
578
	guint64 ssrc = g_ascii_strtoull(ssrc_attr, NULL, 0);
579
	if(ssrc == 0 || ssrc > G_MAXUINT32)
580 580
		return -3;
581 581
	if(video) {
582 582
		if(stream->video_ssrc_peer == 0) {

Also available in: Unified diff