File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,11 @@ require (
88 github.com/alecthomas/kong v0.9.0
99 github.com/djthorpe/go-errors v1.0.3
1010 github.com/djthorpe/go-tablewriter v0.0.8
11- github.com/hashicorp/go-multierror v1.1.1
1211 github.com/stretchr/testify v1.9.0
1312)
1413
1514require (
1615 github.com/davecgh/go-spew v1.1.1 // indirect
17- github.com/hashicorp/errwrap v1.1.0 // indirect
1816 github.com/mattn/go-runewidth v0.0.15 // indirect
1917 github.com/pmezard/go-difflib v1.0.0 // indirect
2018 github.com/rivo/uniseg v0.4.7 // indirect
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
1313
1414const (
1515 // Test data
16- testData1 = "../../etc/test/audio_22050_1ch_5m35.s16le"
16+ testData1 = "../../etc/test/audio_22050_1ch_5m35.s16le.sw "
1717)
1818
1919func Test_fingerprint_000 (t * testing.T ) {
@@ -33,7 +33,9 @@ func Test_fingerprint_002(t *testing.T) {
3333 assert .NotNil (fingerprint )
3434
3535 r , err := os .Open (testData1 )
36- assert .NoError (err )
36+ if ! assert .NoError (err ) {
37+ t .SkipNow ()
38+ }
3739 defer r .Close ()
3840
3941 buf := make ([]int16 , 1024 )
Original file line number Diff line number Diff line change @@ -132,8 +132,3 @@ func (ctx *AVCodecParameters) Width() int {
132132func (ctx * AVCodecParameters ) Height () int {
133133 return int (ctx .height )
134134}
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