repositories
/
deb_shairplay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
597bc69
)
Only accept first rtpmap and fmtp (assume they are for audio)
author
Juho Vähä-Herttua
<juhovh@iki.fi>
Sun, 31 Mar 2013 11:13:36 +0000
(14:13 +0300)
committer
Juho Vähä-Herttua
<juhovh@iki.fi>
Sun, 31 Mar 2013 11:13:36 +0000
(14:13 +0300)
src/lib/sdp.c
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/sdp.c
b/src/lib/sdp.c
index ecd6214baa06cb332eb1fa5a0c91fb46ebb69a33..b39661cd28f3b06282506ff04606329912ea4bc1 100644
(file)
--- a/
src/lib/sdp.c
+++ b/
src/lib/sdp.c
@@
-75,9
+75,9
@@
parse_sdp_line(sdp_t *sdp, char *line)
if (!value) break;
*(value++) = '\0';
- if (!strcmp(key, "rtpmap")) {
+ if (!strcmp(key, "rtpmap")
&& !sdp->rtpmap
) {
sdp->rtpmap = value;
- } else if (!strcmp(key, "fmtp")) {
+ } else if (!strcmp(key, "fmtp")
&& !sdp->fmtp
) {
sdp->fmtp = value;
} else if (!strcmp(key, "rsaaeskey")) {
sdp->rsaaeskey = value;