Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
enricovittorini committed Aug 14, 2023
1 parent e9148cf commit a814ef7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions cue.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,11 @@ func (cue *Cue) decodeBytes(bites []byte) bool {
// DscptrLoop loops over any splice descriptors
func (cue *Cue) dscptrLoop(dll uint16, bd *bitDecoder) {
var i uint16
fmt.Println("DLL: ", dll)
i = 0
l := dll
for i < l {

tag := bd.uInt8(8)
fmt.Println("TAG is now: ", tag)
i++
length := bd.uInt16(8)
i++
Expand Down
1 change: 0 additions & 1 deletion descriptors.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ func (dscptr *Descriptor) timeDescriptor(bd *bitDecoder, tag uint8, length uint8
func (dscptr *Descriptor) segmentationDescriptor(bd *bitDecoder, tag uint8, length uint8) {
dscptr.Tag = tag
dscptr.Length = length
fmt.Println("Desfriptor Length: ", length)
dscptr.Identifier = bd.asAscii(32)
if dscptr.Identifier != "CUEI" {
log.Fatal("Segmentation Descriptor Identifies is not 0x43554549 but is ", dscptr.Identifier)
Expand Down

0 comments on commit a814ef7

Please sign in to comment.