codec/h264/lex.go: updated comment for RTPLexer.Lex()

This commit is contained in:
Saxon 2019-05-24 10:34:52 +09:30
parent b49e65d928
commit e1fd6837ef
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ func NewRTPLexer() *RTPLexer {
buf: bytes.NewBuffer(make([]byte, 0, maxAUSize))}
}
// LexFromRTP extracts H264 access units from an RTP stream. This function
// Lex extracts H264 access units from an RTP stream. This function
// expects that each read from src will provide a single RTP packet.
func (l *RTPLexer) Lex(dst io.Writer, src io.Reader, delay time.Duration) error {
buf := make([]byte, maxRTPSize)