From d7d205a7a990e3f2d7a8da96d8345cbb03f923c8 Mon Sep 17 00:00:00 2001 From: Saxon Date: Thu, 23 May 2019 14:07:19 +0930 Subject: [PATCH] protocol/rtcp/parse.go: updated comment for ParseTimestamp(...) --- protocol/rtcp/parse.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocol/rtcp/parse.go b/protocol/rtcp/parse.go index be680fa0..458be546 100644 --- a/protocol/rtcp/parse.go +++ b/protocol/rtcp/parse.go @@ -38,9 +38,9 @@ type Timestamp struct { Fraction uint32 } -// Timestamp gets the timestamp from a receiver report and returns it as the most -// significant word, and the least significant word. If the given bytes do not -// represent a valid receiver report, an error is returned. +// ParseTimestamp gets the timestamp from a receiver report and returns it as +// a Timestamp as defined above. If the given bytes do not represent a valid +// receiver report, an error is returned. func ParseTimestamp(buf []byte) (Timestamp, error) { err := checkPacket(buf) if err != nil {