1
0
Fork 0
forked from External/mediamtx

update golangci-lint (#3300)

This commit is contained in:
Alessandro Ros 2024-04-28 18:20:08 +02:00 committed by GitHub
parent 5d74906414
commit 1204f76eb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 141 additions and 133 deletions

View file

@ -26,7 +26,7 @@ func (c *Chunk3) Read(r io.Reader, bodyLen uint32, hasExtendedTimestamp bool) er
c.ChunkStreamID = header[0] & 0x3F
if hasExtendedTimestamp {
_, err := io.ReadFull(r, header[:4])
_, err = io.ReadFull(r, header[:4])
if err != nil {
return err
}