From 1a5f07305df1d831c76b402ac8ba2e4fbd1d6a63 Mon Sep 17 00:00:00 2001 From: Saxon Date: Tue, 20 Aug 2019 08:04:17 +0930 Subject: [PATCH] codec/h264/h2646dec/cabac.go: runcated=>truncated in truncUnaryBinarization comment --- codec/h264/h264dec/cabac.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec/h264/h264dec/cabac.go b/codec/h264/h264dec/cabac.go index 23f7db16..74cf527c 100644 --- a/codec/h264/h264dec/cabac.go +++ b/codec/h264/h264dec/cabac.go @@ -755,7 +755,7 @@ func unaryBinarization(v int) ([]int, error) { // Error used by truncUnaryBinarization. var errInvalidSyntaxVal = errors.New("syntax value cannot be greater than cMax") -// truncUnaryBinarization returns the runcated unary binarization of a syntax +// truncUnaryBinarization returns the truncated unary binarization of a syntax // element v given a cMax as specified in section 9.3.2.2 of the specifications. func truncUnaryBinarization(v, cMax int) ([]int, error) { if v < 0 {