mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: Standardize comparison order and improve code readability
Origin commit data
------------------
Commit: b7d7f97ee4
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2024-03-21 (Thu, 21 Mar 2024)
Origin message was:
------------------
small fix
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user