change track initialization method

This commit is contained in:
aler9
2022-06-23 13:13:36 +02:00
parent 3223af460e
commit 9f4fea8a01
40 changed files with 765 additions and 706 deletions

View File

@@ -9,11 +9,6 @@ type TrackJPEG struct {
trackBase
}
// NewTrackJPEG allocates a TrackJPEG.
func NewTrackJPEG() *TrackJPEG {
return &TrackJPEG{}
}
func newTrackJPEGFromMediaDescription(
control string) (*TrackJPEG, error,
) {