From 46b5acb48c4e9fd7b0e1f0afa430ed538253d839 Mon Sep 17 00:00:00 2001 From: saxon Date: Thu, 7 Feb 2019 13:59:43 +1030 Subject: [PATCH] stream/mts/mpgets.go: removing unused consts --- stream/mts/mpegts.go | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/stream/mts/mpegts.go b/stream/mts/mpegts.go index 71849513..ab23b9a7 100644 --- a/stream/mts/mpegts.go +++ b/stream/mts/mpegts.go @@ -60,30 +60,6 @@ const ( HasAdaptationField = 0x2 ) -// Adaptation field body masks. -const ( - DiscontinuityIndicatorMask = 0x80 - RandomAccessIndicatorMask = 0x40 - ElementaryStreamPriorityIndicatorMask = 0x20 - ProgramClockReferenceFlagMask = 0x10 - OriginalProgramClockReferenceFlagMask = 0x08 - SplicingPointFlagMask = 0x04 - TransportPrivateDataFlagMask = 0x02 - AdaptationFieldExtensionMask = 0x01 -) - -// Adaptation field body indexes. -const ( - DiscontinuityIndicatorIdx = AdaptationIdx + 1 - RandomAccessIndicatorIdx = AdaptationIdx + 1 - ElementaryStreamPriorityIndicatorIdx = AdaptationIdx + 1 - ProgramClockReferenceFlagIdx = AdaptationIdx + 1 - OriginalProgramClockReferenceFlagIdx = AdaptationIdx + 1 - SplicingPointFlagIdx = AdaptationIdx + 1 - TransportPrivateDataFlagIdx = AdaptationIdx + 1 - AdaptationFieldExtensionFlagIdx = AdaptationIdx + 1 -) - /* The below data struct encapsulates the fields of an MPEG-TS packet. Below is the formatting of an MPEG-TS packet for reference!