mirror of https://bitbucket.org/ausocean/av.git
Use f instead of inputFile
This commit is contained in:
parent
0933912f76
commit
eda6fc54bd
|
@ -36,13 +36,13 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
mjpegInputFileName = "testInput/testInput.avi"
|
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) {
|
func TestH264Parser(t *testing.T) {
|
||||||
log.SetOutput(os.Stderr)
|
log.SetOutput(os.Stderr)
|
||||||
log.Println("Opening input file!")
|
log.Println("Opening input file!")
|
||||||
inputFile, err := os.Open(h264InputFileName)
|
inputFile, err := os.Open(h264fName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("Should not have got error opening file!")
|
t.Errorf("Should not have got error opening file!")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue