From 4aa71e901c619739765df92f0b80905c879a40d8 Mon Sep 17 00:00:00 2001 From: Saxon Date: Sat, 7 Sep 2019 08:39:55 +0930 Subject: [PATCH] codec/h264/h264dec: put function parameters on one line for parseTotalCoeffAndTrailingOnes --- codec/h264/h264dec/cavlc.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/codec/h264/h264dec/cavlc.go b/codec/h264/h264dec/cavlc.go index 57a4261a..532bef2e 100644 --- a/codec/h264/h264dec/cavlc.go +++ b/codec/h264/h264dec/cavlc.go @@ -79,14 +79,7 @@ type block struct { // the specifications to obtain a value of nC, parse coeff_token from br and // then use table 9-5 to find corresponding values of TrailingOnes(coeff_token) // and TotalCoeff(coeff_token) which are then subsequently returned. -func parseTotalCoeffAndTrailingOnes( - br *bits.BitReader, - ctx *SliceContext, - usingMbPredMode bool, - level, - maxNumCoef, - inBlockIdx int, -) (totalCoeff, trailingOnes, nC, outBlockIdx int, err error) { +func parseTotalCoeffAndTrailingOnes(br *bits.BitReader, ctx *SliceContext, usingMbPredMode bool, level, maxNumCoef, inBlockIdx int) (totalCoeff, trailingOnes, nC, outBlockIdx int, err error) { if level == chromaDCLevel { if ctx.chromaArrayType == 1 { nC = -1