Minor cleanups.

This commit is contained in:
Juliusz Chroboczek
2022-04-23 18:22:28 +02:00
parent 9ab84741d9
commit fc9f28fd68
8 changed files with 8 additions and 19 deletions
-4
View File
@@ -12,9 +12,6 @@ import (
// a multiple of 8.
const BufSize = 1504
// The maximum number of packets that constitute a keyframe.
const maxFrame = 1024
// entry represents a cached packet.
type entry struct {
seqno uint16
@@ -118,7 +115,6 @@ func (bitmap *bitmap) set(seqno uint16) {
}
bitmap.bitmap |= (1 << uint16(seqno-bitmap.first))
return
}
// BitmapGet shifts up to 17 bits out of the bitmap. It returns a boolean