diff options
author | Mark Spencer <markster@digium.com> | 2003-04-18 14:39:26 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-04-18 14:39:26 +0000 |
commit | a1486ff1b1329906c4dbbf5bbcc929ccc37283b3 (patch) | |
tree | 7d82958c7f5d7132513ba595d1b26e885db7f96a /rtp.c | |
parent | f01788bff9e9d62e92fe419798106f2026e893c7 (diff) |
ast_rtp_pt_lookups must be done against static set
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |