mirror of https://bitbucket.org/ausocean/av.git
codec/h264/h264dec/cavlc.go: fixed error message that's returned on failure to read coeffTokenTable string
This commit is contained in:
parent
05e16ec260
commit
88857ec5b9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue