File tree 3 files changed +4
-9
lines changed
3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,11 @@ require (
8
8
github.com/alecthomas/kong v0.9.0
9
9
github.com/djthorpe/go-errors v1.0.3
10
10
github.com/djthorpe/go-tablewriter v0.0.8
11
- github.com/hashicorp/go-multierror v1.1.1
12
11
github.com/stretchr/testify v1.9.0
13
12
)
14
13
15
14
require (
16
15
github.com/davecgh/go-spew v1.1.1 // indirect
17
- github.com/hashicorp/errwrap v1.1.0 // indirect
18
16
github.com/mattn/go-runewidth v0.0.15 // indirect
19
17
github.com/pmezard/go-difflib v1.0.0 // indirect
20
18
github.com/rivo/uniseg v0.4.7 // indirect
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
13
13
14
14
const (
15
15
// Test data
16
- testData1 = "../../etc/test/audio_22050_1ch_5m35.s16le"
16
+ testData1 = "../../etc/test/audio_22050_1ch_5m35.s16le.sw "
17
17
)
18
18
19
19
func Test_fingerprint_000 (t * testing.T ) {
@@ -33,7 +33,9 @@ func Test_fingerprint_002(t *testing.T) {
33
33
assert .NotNil (fingerprint )
34
34
35
35
r , err := os .Open (testData1 )
36
- assert .NoError (err )
36
+ if ! assert .NoError (err ) {
37
+ t .SkipNow ()
38
+ }
37
39
defer r .Close ()
38
40
39
41
buf := make ([]int16 , 1024 )
Original file line number Diff line number Diff line change @@ -132,8 +132,3 @@ func (ctx *AVCodecParameters) Width() int {
132
132
func (ctx * AVCodecParameters ) Height () int {
133
133
return int (ctx .height )
134
134
}
135
-
136
- // Video
137
- func (ctx * AVCodecParameters ) Framerate () AVRational {
138
- return AVRational (ctx .framerate )
139
- }
You can’t perform that action at this time.
0 commit comments