mirror of
https://github.com/aler9/gortsplib
synced 2025-10-07 16:10:59 +08:00
update golangci-lint
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: golangci/golangci-lint-action@v3
|
- uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
version: v1.45.2
|
version: v1.49.0
|
||||||
|
|
||||||
go-mod-tidy:
|
go-mod-tidy:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
linters:
|
linters:
|
||||||
enable:
|
enable:
|
||||||
- bodyclose
|
- bodyclose
|
||||||
|
2
Makefile
2
Makefile
@@ -1,5 +1,5 @@
|
|||||||
BASE_IMAGE = golang:1.17-alpine3.14
|
BASE_IMAGE = golang:1.17-alpine3.14
|
||||||
LINT_IMAGE = golangci/golangci-lint:v1.45.2
|
LINT_IMAGE = golangci/golangci-lint:v1.49.0
|
||||||
|
|
||||||
.PHONY: $(shell ls)
|
.PHONY: $(shell ls)
|
||||||
|
|
||||||
|
@@ -3,7 +3,6 @@ Package gortsplib is a RTSP 1.0 library for the Go programming language,
|
|||||||
written for rtsp-simple-server.
|
written for rtsp-simple-server.
|
||||||
|
|
||||||
Examples are available at https://github.com/aler9/gortsplib/tree/master/examples
|
Examples are available at https://github.com/aler9/gortsplib/tree/master/examples
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package gortsplib
|
package gortsplib
|
||||||
|
|
||||||
|
@@ -87,7 +87,7 @@ func TestRTCPReceiverOverflow(t *testing.T) {
|
|||||||
Reports: []rtcp.ReceptionReport{
|
Reports: []rtcp.ReceptionReport{
|
||||||
{
|
{
|
||||||
SSRC: 0xba9da416,
|
SSRC: 0xba9da416,
|
||||||
LastSequenceNumber: 1<<16 | 0x0000,
|
LastSequenceNumber: 1 << 16,
|
||||||
LastSenderReport: 0x887a17ce,
|
LastSenderReport: 0x887a17ce,
|
||||||
Delay: 1 * 65536,
|
Delay: 1 * 65536,
|
||||||
},
|
},
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
// Package rtpreorderer implements a filter to reorder incoming RTP packets.
|
||||||
package rtpreorderer
|
package rtpreorderer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Reference in New Issue
Block a user