mirror of https://bitbucket.org/ausocean/av.git
codec/h264/lex.go: updated comment for RTPLexer.Lex()
This commit is contained in:
parent
b49e65d928
commit
e1fd6837ef
|
@ -175,7 +175,7 @@ func NewRTPLexer() *RTPLexer {
|
||||||
buf: bytes.NewBuffer(make([]byte, 0, maxAUSize))}
|
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.
|
// 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 {
|
func (l *RTPLexer) Lex(dst io.Writer, src io.Reader, delay time.Duration) error {
|
||||||
buf := make([]byte, maxRTPSize)
|
buf := make([]byte, maxRTPSize)
|
||||||
|
|
Loading…
Reference in New Issue