update golangci-lint

This commit is contained in:
aler9
2022-09-17 21:19:40 +02:00
parent e99f799c07
commit 92cc1b5ee9
6 changed files with 4 additions and 5 deletions

View File

@@ -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

View File

@@ -1,4 +1,3 @@
linters:
enable:
- bodyclose

View File

@@ -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)

View File

@@ -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

View File

@@ -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,
},

View File

@@ -1,3 +1,4 @@
// Package rtpreorderer implements a filter to reorder incoming RTP packets.
package rtpreorderer
import (