From Michael Lum:

Some of the hard-coded 96 and 127 values representing dynamic payloads 
were changed to use #defines from rtp_pt.h but not all.

svn path=/trunk/; revision=28466
This commit is contained in:
Jaap Keuter 2009-05-25 06:46:33 +00:00
parent 906506f6cf
commit bd563faabb
1 changed files with 2 additions and 2 deletions

View File

@ -646,8 +646,8 @@ process_rtp_payload(tvbuff_t *newtvb, packet_info *pinfo, proto_tree *tree,
}
}
/* if the payload type is dynamic (96 to 127), we check if the conv is set and we look for the pt definition */
else if ( (payload_type >=96) && (payload_type <=127) ) {
/* if the payload type is dynamic, we check if the conv is set and we look for the pt definition */
else if ( (payload_type >= PT_UNDF_96 && payload_type <= PT_UNDF_127) ) {
if (p_conv_data && p_conv_data->rtp_dyn_payload) {
gchar *payload_type_str = NULL;
payload_type_str = g_hash_table_lookup(p_conv_data->rtp_dyn_payload, &payload_type);