summaryrefslogtreecommitdiff
path: root/remux.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-08-27 09:03:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-08-27 09:03:56 +0200
commit7ef6d79884c97c2c384657d358f7c3c5aee3f968 (patch)
treefab27e6721446562fd975eaf16c12a67f60e2c55 /remux.c
parent0c27583ba914a465fa57b0740347c0c466f0ccff (diff)
downloadvdr-7ef6d79884c97c2c384657d358f7c3c5aee3f968.tar.gz
vdr-7ef6d79884c97c2c384657d358f7c3c5aee3f968.tar.bz2
Added missing braces
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/remux.c b/remux.c
index 4ecb5b83..21c0e5ae 100644
--- a/remux.c
+++ b/remux.c
@@ -11,7 +11,7 @@
* The cDolbyRepacker code was originally written by Reinhard Nissl <rnissl@gmx.de>,
* and adapted to the VDR coding style by Klaus.Schmidinger@cadsoft.de.
*
- * $Id: remux.c 1.39 2005/08/26 13:35:53 kls Exp $
+ * $Id: remux.c 1.40 2005/08/27 09:03:56 kls Exp $
*/
#include "remux.h"
@@ -1503,9 +1503,10 @@ void cTS2PES::instant_repack(const uint8_t *Buf, int Count)
if (mpeg1_stuffing == 0) { // first stuffing iteration: determine MPEG level
if ((flag1 & 0xC0) == 0x80)
mpeg = 2;
- else
+ else {
mpeg = 1;
mpeg1_required = 7;
+ }
}
if (mpeg == 1) {
if (flag1 == 0xFF) { // MPEG1 stuffing