projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01788b
)
ast_rtp_pt_lookups must be done against static set
author
Mark Spencer
<markster@digium.com>
Fri, 18 Apr 2003 14:39:26 +0000
(14:39 +0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 18 Apr 2003 14:39:26 +0000
(14:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@866
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
rtp.c
patch
|
blob
|
history
diff --git
a/rtp.c
b/rtp.c
index
a5d6ca2
..
a1188ce
100755
(executable)
--- a/
rtp.c
+++ b/
rtp.c
@@
-487,7
+487,8
@@
struct rtpPayloadType ast_rtp_lookup_pt(struct ast_rtp* rtp, int pt) {
result.isAstFormat = result.code = 0;
return result; // bogus payload type
}
- return rtp->current_RTP_PT[pt];
+ /* Gotta use our static one, since that's what we sent against */
+ return static_RTP_PT[pt];
}
int ast_rtp_lookup_code(struct ast_rtp* rtp, int isAstFormat, int code) {