small fix

Origin commit data
------------------
Branch: master
Commit: aa006562ae
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2024-03-24 (Sun, 24 Mar 2024)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2024-03-24 22:23:52 +01:00
committed by vanhofen
parent 185d1e9ee7
commit 87b08ccfd3
12 changed files with 65 additions and 69 deletions

View File

@@ -151,7 +151,7 @@ static void LinuxDvbBuffThread(Context_t *context)
PlaybackDieNowRegisterCallback(WriteWakeUp);
while (0 == PlaybackDieNow(0))
while (PlaybackDieNow(0) == 0)
{
pthread_mutex_lock(&bufferingMtx);
g_bDuringWrite = false;
@@ -451,7 +451,7 @@ ssize_t BufferingWriteV(int fd, const struct iovec *iov, int ic)
}
pthread_mutex_lock(&bufferingMtx);
while (0 == PlaybackDieNow(0))
while (PlaybackDieNow(0) == 0)
{
if (bufferingDataSize + chunkSize >= maxBufferingDataSize)
{