Bug #2614 ยป vdr-streamdev-gcc11-fix.patch
vdr-streamdev-b84b7d85/server/livefilter.c 2021-01-08 18:15:53.248869833 +0100 | ||
---|---|---|
int pos = 0;
|
||
while (length > 0) {
|
||
int chunk = min(length, TS_SIZE - 5);
|
||
int chunk = std::min(length, TS_SIZE - 5);
|
||
buffer[0] = TS_SYNC_BYTE;
|
||
buffer[1] = ((Pid >> 8) & 0x3f) | (pos==0 ? 0x40 : 0); /* bit 6: payload unit start indicator (PUSI) */
|
||
buffer[2] = Pid & 0xff;
|