codec/h264/h264dec/cavlc.go: fixed error message that's returned on failure to read coeffTokenTable string

This commit is contained in:
Saxon 2019-09-10 11:22:25 +09:30
parent 05e16ec260
commit 88857ec5b9
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ const (
func init() { func init() {
lines, err := csv.NewReader(strings.NewReader(coeffTokenTable)).ReadAll() lines, err := csv.NewReader(strings.NewReader(coeffTokenTable)).ReadAll()
if err != nil { if err != nil {
panic(fmt.Sprintf("could not read lines from coeftokenmap.csv file, failed with error: %v", err)) panic(fmt.Sprintf("could not read lines from coeffTokenTable string, failed with error: %v", err))
} }
coeffTokenMaps, err = formCoeffTokenMap(lines) coeffTokenMaps, err = formCoeffTokenMap(lines)