aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtcp.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2011-02-09 03:00:51 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2011-02-09 03:00:51 +0000
commit92cd49b4c22920175175184afba3de4998752b26 (patch)
tree3788377094155f4dbd0c41ba29f6eae03c42e0b3 /epan/dissectors/packet-rtcp.c
parent5d3a4a06bc1aa95ae3407dfd93532d51cbbe3126 (diff)
Rename ntp_fmt_ts() to tvb_ntp_fmt_ts() and make it take a pointer to a TVB and
an offset instead of (generally) a pointer into the TVB. Then use the standard accessor functions to get data out of the TVB. svn path=/trunk/; revision=35886
Diffstat (limited to 'epan/dissectors/packet-rtcp.c')
-rw-r--r--epan/dissectors/packet-rtcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rtcp.c b/epan/dissectors/packet-rtcp.c
index 965ed23c94..019178c9b3 100644
--- a/epan/dissectors/packet-rtcp.c
+++ b/epan/dissectors/packet-rtcp.c
@@ -1069,7 +1069,7 @@ dissect_rtcp_app( tvbuff_t *tvb,packet_info *pinfo, int offset, proto_tree *tree
proto_tree_add_item(PoC1_tree, hf_rtcp_app_poc1_request_ts,
tvb, offset, 8, ENC_TIME_NTP|ENC_BIG_ENDIAN);
- buff = ntp_fmt_ts(tvb_get_ptr(tvb, offset, 8));
+ buff = tvb_ntp_fmt_ts(tvb, offset);
offset += 8;
packet_len -=8;