diff options
| author | Klaus Schmidinger <vdr@tvdr.de> | 2022-01-18 14:24:33 +0100 |
|---|---|---|
| committer | Klaus Schmidinger <vdr@tvdr.de> | 2022-01-18 14:24:33 +0100 |
| commit | 8cde8464ebfe816783fdbf0504c0c9aa4b899da1 (patch) | |
| tree | 6ba02cb754bfe1b7acc1ffd84549592a813e3282 /remux.c | |
| parent | 14b108f1046203dd6dbe0dbceb17630a741625e3 (diff) | |
| download | vdr-8cde8464ebfe816783fdbf0504c0c9aa4b899da1.tar.gz vdr-8cde8464ebfe816783fdbf0504c0c9aa4b899da1.tar.bz2 | |
Fixed handling zero bytes in cH264Parser
Diffstat (limited to 'remux.c')
| -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 5.1 2021/05/11 20:47:31 kls Exp $ + * $Id: remux.c 5.2 2022/01/18 14:24:33 kls Exp $ */ #include "remux.h" @@ -1363,7 +1363,7 @@ uchar cH264Parser::GetByte(bool Raw) else { if (b == 0x03 && zeroBytes >= 2) b = tsPayload.GetByte(); - zeroBytes = 0; + zeroBytes = b ? 0 : 1; } } else |
