mirror of https://bitbucket.org/ausocean/av.git
codec/h264/lex.go: removed FUIndicatorIdx const in handleFUA
This commit is contained in:
parent
a39cd31a57
commit
85a5f043c8
|
@ -269,8 +269,7 @@ func (l *RTPLexer) handleFUA(d []byte) {
|
|||
if end {
|
||||
panic("bad fragmentation packet")
|
||||
}
|
||||
const FUIndicatorIdx = 0
|
||||
newHead := (d[FUIndicatorIdx] & 0xe0) | (d[FUHeadIdx] & 0x1f)
|
||||
newHead := (d[0] & 0xe0) | (d[0] & 0x1f)
|
||||
d = d[1:]
|
||||
d[0] = newHead
|
||||
l.frag = true
|
||||
|
|
Loading…
Reference in New Issue