diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-24 14:59:39 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-24 14:59:39 +0200 |
commit | 1a31974789d2e9e78f0ae6bc5ab776c0f8f1db6a (patch) | |
tree | ee4e6903286d4d457f350db650544ea84edec02a | |
parent | 3d63936a36c91592e46eeab8bc679f2b4ddd8d1f (diff) | |
download | vdr-1a31974789d2e9e78f0ae6bc5ab776c0f8f1db6a.tar.gz vdr-1a31974789d2e9e78f0ae6bc5ab776c0f8f1db6a.tar.bz2 |
Fixed a typo
-rw-r--r-- | remux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remux.c 4.5 2017/03/26 13:07:01 kls Exp $ + * $Id: remux.c 4.6 2017/04/24 14:59:39 kls Exp $ */ #include "remux.h" @@ -502,7 +502,7 @@ void cPatPmtGenerator::GeneratePat(void) p[i++] = pmtPid & 0xFF; // program number lo p[i++] = 0xE0 | (pmtPid >> 8); // dummy (3), PMT pid hi (5) p[i++] = pmtPid & 0xFF; // PMT pid lo - pat[SectionLength] = i - SectionLength - 1 + 4; // -2 = SectionLength storage, +4 = length of CRC + pat[SectionLength] = i - SectionLength - 1 + 4; // -1 = SectionLength storage, +4 = length of CRC MakeCRC(pat + i, pat + PayloadStart, i - PayloadStart); IncVersion(patVersion); } |