From 819b4a122f86464acd3592e5ba6e103d2db74dcf Mon Sep 17 00:00:00 2001 From: Saxon Date: Sun, 19 May 2019 21:44:23 +0930 Subject: [PATCH] codec/h264: renamed Lex to LexFromBytestream --- codec/h264/lex.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codec/h264/lex.go b/codec/h264/lex.go index 3976cef1..d7e26876 100644 --- a/codec/h264/lex.go +++ b/codec/h264/lex.go @@ -42,11 +42,11 @@ func init() { var h264Prefix = [...]byte{0x00, 0x00, 0x01, 0x09, 0xf0} -// Lex lexes H.264 NAL units read from src into separate writes to dst with -// successive writes being performed not earlier than the specified delay. -// NAL units are split after type 1 (Coded slice of a non-IDR picture), 5 +// LexFromBytestream lexes H.264 NAL units read from src into separate writes +// to dst with successive writes being performed not earlier than the specified +// delay. NAL units are split after type 1 (Coded slice of a non-IDR picture), 5 // (Coded slice of a IDR picture) and 8 (Picture parameter set). -func Lex(dst io.Writer, src io.Reader, delay time.Duration) error { +func LexFromBytestream(dst io.Writer, src io.Reader, delay time.Duration) error { var tick <-chan time.Time if delay == 0 { tick = noDelay