streaming

Media streaming and broadcast systems in Go
Log | Files | Refs | README | LICENSE

commit fdfd601c2abd8099cd091daa80763ba6926aa8be
parent fc72cfeb7ab4c59a9d53a4cb6c0212c9b2ed9752
Author: Oliver Lowe <o@olowe.co>
Date:   Sat, 11 May 2024 19:21:39 +1000

internal/scte35: remove debug print, dead code

Diffstat:
Minternal/scte35/splice_descriptor.go | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/internal/scte35/splice_descriptor.go b/internal/scte35/splice_descriptor.go @@ -185,8 +185,6 @@ func unmarshalSegDescriptor(buf []byte) SegmentationDescriptor { if buf[5]&0b01000000 > 0 { b := make([]byte, 3) b = append(b, buf[6:11]...) - // b := buf[6:11] // get 40-bit integer - // b = append(b, 0x00, 0x00, 0x00) dur := binary.BigEndian.Uint64(b) desc.Duration = &dur buf = buf[11:] @@ -326,7 +324,6 @@ func DecodeAllDescriptors(buf []byte) ([]SpliceDescriptor, error) { break } buf = buf[2+dlen:] - fmt.Println("bytes left in decode loop:", len(buf)) } return sds, nil }