1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Clarified some potentially mistakable code in cSectionHandler::SetStatus()

This commit is contained in:
Klaus Schmidinger 2022-01-31 21:21:42 +01:00
parent 50c3951017
commit 2a0222226a
3 changed files with 7 additions and 3 deletions

View File

@ -3617,6 +3617,7 @@ Onur Sent
for fixing handling shared CA pids
for fixing handling the S2SatelliteDeliverySystemDescriptor for transponders broadcasting
in "backwards compatibility mode" according to ETSI EN 300 468
for pointing out some potentially mistakable code in cSectionHandler::SetStatus()
Helmut Binder <cco@aon.at>
for improving calculating signal strength and quality

View File

@ -9766,7 +9766,7 @@ Video Disk Recorder Revision History
(reported by Timo Weingärtner).
- Official release.
2022-01-24:
2022-01-31:
- Replaced strncpy() with memcpy() in strreplace() to avoid a compiler warning
(reported by Marco Mäkelä).
@ -9776,3 +9776,5 @@ Video Disk Recorder Revision History
- Fixed handling zero bytes in cH264Parser (thanks to Christoph Haubrich).
- Fixed handling error conditions in the index file (reported by Markus Ehrnsperger).
- Fixed a possible deadlock in cDevice::DetachAllReceivers() (thanks to Helmut Binder).
- Clarified some potentially mistakable code in cSectionHandler::SetStatus() (pointed
out by Onur Sentürk).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: sections.c 5.2 2021/06/20 10:27:19 kls Exp $
* $Id: sections.c 5.3 2022/01/31 21:21:42 kls Exp $
*/
#include "sections.h"
@ -155,7 +155,8 @@ void cSectionHandler::SetStatus(bool On)
if (On)
fi->SetStatus(true);
}
if (flush = On)
flush = On;
if (flush)
flushTimer.Set();
on = On;
waitForLock = false;