mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 23:52:46 +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
|
||||
with:
|
||||
version: v1.45.2
|
||||
version: v1.49.0
|
||||
|
||||
go-mod-tidy:
|
||||
runs-on: ubuntu-20.04
|
||||
|
@@ -1,4 +1,3 @@
|
||||
|
||||
linters:
|
||||
enable:
|
||||
- bodyclose
|
||||
|
2
Makefile
2
Makefile
@@ -1,5 +1,5 @@
|
||||
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)
|
||||
|
||||
|
@@ -3,7 +3,6 @@ Package gortsplib is a RTSP 1.0 library for the Go programming language,
|
||||
written for rtsp-simple-server.
|
||||
|
||||
Examples are available at https://github.com/aler9/gortsplib/tree/master/examples
|
||||
|
||||
*/
|
||||
package gortsplib
|
||||
|
||||
|
@@ -87,7 +87,7 @@ func TestRTCPReceiverOverflow(t *testing.T) {
|
||||
Reports: []rtcp.ReceptionReport{
|
||||
{
|
||||
SSRC: 0xba9da416,
|
||||
LastSequenceNumber: 1<<16 | 0x0000,
|
||||
LastSequenceNumber: 1 << 16,
|
||||
LastSenderReport: 0x887a17ce,
|
||||
Delay: 1 * 65536,
|
||||
},
|
||||
|
@@ -1,3 +1,4 @@
|
||||
// Package rtpreorderer implements a filter to reorder incoming RTP packets.
|
||||
package rtpreorderer
|
||||
|
||||
import (
|
||||
|
Reference in New Issue
Block a user