This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
make sure we always have a session to work with
git.mgm/mediaproxy-ng/2.2
Richard Fuchs
13 years ago
parent
a11dc28825
commit
c956a371ac
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
daemon/sdp.c
+ 4
- 0
daemon/sdp.c
View File
@ -471,6 +471,10 @@ int sdp_parse(str *body, GQueue *sessions) {
goto
error
;
}
errstr
=
"
SDP doesn't start with a session definition
"
;
if
(
!
session
)
goto
error
;
adj_s
=
media
?
&
media
-
>
s
:
&
session
-
>
s
;
adj_s
-
>
len
=
(
next_line
?
:
end
)
-
adj_s
-
>
s
;
Write
Preview
Loading…
Cancel
Save