Skip to content

Commit

Permalink
remove useless variable (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored Sep 20, 2024
1 parent 500e40a commit 56fb3df
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions muxer_segmenter_fmp4.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ type muxerSegmenterFMP4 struct {
audioTimeScale uint32
videoFirstRandomAccessReceived bool
videoDTSExtractor dtsExtractor
startDTS time.Duration
currentSegment *muxerSegmentFMP4
nextSegmentID uint64
nextPartID uint64
Expand Down Expand Up @@ -345,8 +344,6 @@ func (m *muxerSegmenterFMP4) writeVideo(

// create first segment
if m.currentSegment == nil {
m.startDTS = sample.dts

seg := &muxerSegmentFMP4{
lowLatency: m.lowLatency,
id: m.takeSegmentID(),
Expand Down Expand Up @@ -449,8 +446,6 @@ func (m *muxerSegmenterFMP4) writeAudio(sample *augmentedSample) error {
if m.videoTrack == nil {
// create first segment
if m.currentSegment == nil {
m.startDTS = sample.dts

seg := &muxerSegmentFMP4{
lowLatency: m.lowLatency,
id: m.takeSegmentID(),
Expand Down

0 comments on commit 56fb3df

Please sign in to comment.