diff --git a/codec/h265/lex.go b/codec/h265/lex.go index 9ee177b9..cf65b3fe 100644 --- a/codec/h265/lex.go +++ b/codec/h265/lex.go @@ -133,7 +133,7 @@ func (l *Lexer) handleAggregation(d []byte) { case 2: idx += 2 default: - idx += 1 + idx++ } } size := int(binary.BigEndian.Uint16(d[idx:]))