codec/h264/h2646dec/cabac.go: runcated=>truncated in truncUnaryBinarization comment

This commit is contained in:
Saxon 2019-08-20 08:04:17 +09:30
parent 4a2c3487c7
commit 1a5f07305d
1 changed files with 1 additions and 1 deletions

View File

@ -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 {