Refactored to be more Go idiomatic.

This commit is contained in:
Alan Noble 2017-09-20 21:28:54 +09:30
parent dbfe59432c
commit 9c7df83011
1 changed files with 112 additions and 112 deletions

View File

@ -28,15 +28,15 @@ Append a ? to your <URL> if you don't need it
List of flags:
* FilterFixPTS = 0x0001
* FilterDropAudio = 0x0002
* FilterScale640 = 0x0004
* FilterScale320 = 0x0008
* FilterFixContinuity = 0x0010
* DumpProgramInfo = 0x0100
* DumpPacketStats = 0x0200
* DumpPacketHeader = 0x0400
* DumpPacketPayload = 0x0800
* filterFixPTS = 0x0001
* filterDropAudio = 0x0002
* filterScale640 = 0x0004
* filterScale320 = 0x0008
* filterFixContinuity = 0x0010
* dumpProgramInfo = 0x0100
* dumpPacketStats = 0x0200
* dumpPacketHeader = 0x0400
* dumpPacketPayload = 0x0800
Common flag combos:
@ -79,7 +79,7 @@ second and header fields are read as big endian (like most protocols).
* TP = Transport Priority
* TCS = Transport Scrambling Control
* AFC = Adapation Field Control
* CC = Continuity Counter
* CC = Continuity Counter (incremented per PID wen payload present)
* AFL = Adapation Field Length
* PCR = Program Clock Reference
@ -109,4 +109,4 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
or more details.
You should have received a copy of the GNU General Public License
along with NetReceiver in gpl.txt. If not, see [GNU licenses](http://www.gnu.orlicenses).
along with revid in gpl.txt. If not, see [GNU licenses](http://www.gnu.licenses).