Use f instead of inputFile

This commit is contained in:
saxon 2018-07-04 21:45:03 +09:30
parent 0933912f76
commit eda6fc54bd
1 changed files with 2 additions and 2 deletions

View File

@ -36,13 +36,13 @@ import (
const (
mjpegInputFileName = "testInput/testInput.avi"
h264InputFileName = "../../test/test-data/av/input/betterInput.h264"
h264fName = "../../test/test-data/av/input/betterInput.h264"
)
func TestH264Parser(t *testing.T) {
log.SetOutput(os.Stderr)
log.Println("Opening input file!")
inputFile, err := os.Open(h264InputFileName)
inputFile, err := os.Open(h264fName)
if err != nil {
t.Errorf("Should not have got error opening file!")
return