Skip to content

Commit

Permalink
fix: correct AudioDescriptor.Tag()
Browse files Browse the repository at this point in the history
  • Loading branch information
blahspam committed Aug 25, 2023
1 parent 72703d4 commit 9ad7dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scte35/audio_descriptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ type AudioDescriptor struct {
// Tag returns the splice_descriptor_tag.
func (sd *AudioDescriptor) Tag() uint32 {
// ensure JSONType is set
sd.JSONType = TimeDescriptorTag
return TimeDescriptorTag
sd.JSONType = AudioDescriptorTag
return AudioDescriptorTag
}

// decode updates this SpliceDescriptor from binary.
Expand Down

0 comments on commit 9ad7dfa

Please sign in to comment.